Implement BGRA8 framebuffer format

This commit is contained in:
greggameplayer
2019-01-11 21:15:30 +01:00
parent bc879ae880
commit f6e998f6ad
3 changed files with 4 additions and 0 deletions
+1
View File
@@ -16,6 +16,7 @@ namespace Tegra {
u32 FramebufferConfig::BytesPerPixel(PixelFormat format) {
switch (format) {
case PixelFormat::ABGR8:
case PixelFormat::BGRA8:
return 4;
default:
return 4;