aboutsummaryrefslogtreecommitdiff
path: root/src/video_core/gpu.cpp
diff options
context:
space:
mode:
authorgreggameplayer <gregoire.hage@gmail.com>2019-01-11 21:15:30 +0100
committerUnknown <gregoire.hage@gmail.com>2019-02-09 23:44:01 +0100
commitb4603fafcb1c89d64d001af10ffe028618c5615b (patch)
treec1868d2d962b6bfd4f84c19bdd90fc86f617268a /src/video_core/gpu.cpp
parenta6452e772f1f03fab7c03e071a2ff1e6d7574fb0 (diff)
Implement BGRA8 framebuffer format
Diffstat (limited to 'src/video_core/gpu.cpp')
-rw-r--r--src/video_core/gpu.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cpp
index d3d32a359a..07d4ad9f70 100644
--- a/src/video_core/gpu.cpp
+++ b/src/video_core/gpu.cpp
@@ -18,6 +18,7 @@ namespace Tegra {
u32 FramebufferConfig::BytesPerPixel(PixelFormat format) {
switch (format) {
case PixelFormat::ABGR8:
+ case PixelFormat::BGRA8:
return 4;
default:
return 4;