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

Implement BGRA8 framebuffer format
This commit is contained in:
bunnei authored and GitHub committed 2019-02-12 21:44:20 -05:00
commit cd542d5aac
3 files changed
+4

No files matched your search

+1
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;