summaryrefslogtreecommitdiff
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-06-30 17:32:36 -0300
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-07-13 01:01:09 -0300
commit480850ffe7106a23f23946ad9ea46b800fa60168 (patch)
treef2fdbe25c51b0b7458b67df7c1f9338374438a9c /src/video_core/surface.cpp
parent990b14f181d133641173498e65c9ddccc9ab16ad (diff)
video_core: Fix B5G6R5_UNORM render target format
Diffstat (limited to 'src/video_core/surface.cpp')
-rw-r--r--src/video_core/surface.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/surface.cpp b/src/video_core/surface.cpp
index ea1e20de7..c1c2f2c52 100644
--- a/src/video_core/surface.cpp
+++ b/src/video_core/surface.cpp
@@ -155,7 +155,7 @@ PixelFormat PixelFormatFromRenderTargetFormat(Tegra::RenderTargetFormat format)
case Tegra::RenderTargetFormat::B5G6R5_UNORM:
return PixelFormat::B5G6R5U;
case Tegra::RenderTargetFormat::BGR5A1_UNORM:
- return PixelFormat::A1B5G5R5U;
+ return PixelFormat::B5G5R5A1U;
case Tegra::RenderTargetFormat::RG8_UNORM:
return PixelFormat::RG8U;
case Tegra::RenderTargetFormat::RG8_SNORM: