mirror of
https://git.suyu.dev/suyu/suyu
synced 2025-09-04 02:16:31 -05:00
Implement BGRA8 framebuffer format
This commit is contained in:
@@ -18,6 +18,7 @@ namespace Tegra {
|
||||
u32 FramebufferConfig::BytesPerPixel(PixelFormat format) {
|
||||
switch (format) {
|
||||
case PixelFormat::ABGR8:
|
||||
case PixelFormat::BGRA8:
|
||||
return 4;
|
||||
default:
|
||||
return 4;
|
||||
|
Reference in New Issue
Block a user