summaryrefslogtreecommitdiffstats
path: root/src/video_core/surface.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-06-30 22:32:36 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-07-13 06:01:09 +0200
commit480850ffe7106a23f23946ad9ea46b800fa60168 (patch)
treef2fdbe25c51b0b7458b67df7c1f9338374438a9c /src/video_core/surface.cpp
parentvideo_core: Fix B5G6R5U (diff)
downloadyuzu-480850ffe7106a23f23946ad9ea46b800fa60168.tar
yuzu-480850ffe7106a23f23946ad9ea46b800fa60168.tar.gz
yuzu-480850ffe7106a23f23946ad9ea46b800fa60168.tar.bz2
yuzu-480850ffe7106a23f23946ad9ea46b800fa60168.tar.lz
yuzu-480850ffe7106a23f23946ad9ea46b800fa60168.tar.xz
yuzu-480850ffe7106a23f23946ad9ea46b800fa60168.tar.zst
yuzu-480850ffe7106a23f23946ad9ea46b800fa60168.zip
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: