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

Use default values for unknown framebuffer pixel format

This commit is contained in:
FernandoS27
2018-11-20 21:27:34 -04:00
parent b6d2c64f4d
commit 0a9fedfac9
2 changed files with 8 additions and 0 deletions

View File

@@ -17,6 +17,8 @@ u32 FramebufferConfig::BytesPerPixel(PixelFormat format) {
switch (format) {
case PixelFormat::ABGR8:
return 4;
default:
return 4;
}
UNREACHABLE();