1
0
mirror of https://git.suyu.dev/suyu/suyu synced 2025-09-05 22:06:32 -05:00

Merge pull request #2099 from greggameplayer/BGRA8-Framebuffer-Real

Implement BGRA8 framebuffer format
This commit is contained in:
bunnei
2019-02-12 21:44:20 -05:00
committed by GitHub
3 changed files with 4 additions and 0 deletions

View File

@@ -18,6 +18,7 @@ namespace Tegra {
u32 FramebufferConfig::BytesPerPixel(PixelFormat format) {
switch (format) {
case PixelFormat::ABGR8:
case PixelFormat::BGRA8:
return 4;
default:
return 4;