summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bunnei2018-06-26 22:04:42 -0400
committerGravatar GitHub2018-06-26 22:04:42 -0400
commit0399d98cd9e791b59e76f00721eafca67b870fe1 (patch)
treee9d1f7fca831f80ec272e5e177f94680a826a8b0
parentMerge pull request #590 from bunnei/rm-ssbo-check (diff)
parentgl_rasterizer_cache: Fix inverted B5G6R5 format. (diff)
downloadyuzu-0399d98cd9e791b59e76f00721eafca67b870fe1.tar.gz
yuzu-0399d98cd9e791b59e76f00721eafca67b870fe1.tar.xz
yuzu-0399d98cd9e791b59e76f00721eafca67b870fe1.zip
Merge pull request #591 from bunnei/fix-rgb565
gl_rasterizer_cache: Fix inverted B5G6R5 format.
-rw-r--r--src/video_core/renderer_opengl/gl_rasterizer_cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
index 61d670dcb..8e74c9412 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
@@ -46,7 +46,7 @@ struct FormatTuple {
46 46
47static constexpr std::array<FormatTuple, SurfaceParams::MaxPixelFormat> tex_format_tuples = {{ 47static constexpr std::array<FormatTuple, SurfaceParams::MaxPixelFormat> tex_format_tuples = {{
48 {GL_RGBA8, GL_RGBA, GL_UNSIGNED_INT_8_8_8_8_REV, false}, // ABGR8 48 {GL_RGBA8, GL_RGBA, GL_UNSIGNED_INT_8_8_8_8_REV, false}, // ABGR8
49 {GL_RGB, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, false}, // B5G6R5 49 {GL_RGB, GL_RGB, GL_UNSIGNED_SHORT_5_6_5_REV, false}, // B5G6R5
50 {GL_RGB10_A2, GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV, false}, // A2B10G10R10 50 {GL_RGB10_A2, GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV, false}, // A2B10G10R10
51 {GL_RGB5_A1, GL_RGBA, GL_UNSIGNED_SHORT_1_5_5_5_REV, false}, // A1B5G5R5 51 {GL_RGB5_A1, GL_RGBA, GL_UNSIGNED_SHORT_1_5_5_5_REV, false}, // A1B5G5R5
52 {GL_R8, GL_RED, GL_UNSIGNED_BYTE, false}, // R8 52 {GL_R8, GL_RED, GL_UNSIGNED_BYTE, false}, // R8