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
commit cd40782922
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;