summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-05-30 04:16:18 +0200
committerbunnei <bunneidev@gmail.com>2018-05-30 04:16:18 +0200
commit0d843eaba674d42da08b3fa31d247cda880b5be2 (patch)
treefc75f504c274dd9f1fb8973812572bfe2a5a4911 /src/video_core
parentMerge pull request #480 from mailwl/bcat (diff)
downloadyuzu-0d843eaba674d42da08b3fa31d247cda880b5be2.tar
yuzu-0d843eaba674d42da08b3fa31d247cda880b5be2.tar.gz
yuzu-0d843eaba674d42da08b3fa31d247cda880b5be2.tar.bz2
yuzu-0d843eaba674d42da08b3fa31d247cda880b5be2.tar.lz
yuzu-0d843eaba674d42da08b3fa31d247cda880b5be2.tar.xz
yuzu-0d843eaba674d42da08b3fa31d247cda880b5be2.tar.zst
yuzu-0d843eaba674d42da08b3fa31d247cda880b5be2.zip
Diffstat (limited to 'src/video_core')
-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 e652bd9ed..a496dedc2 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
@@ -45,7 +45,7 @@ struct FormatTuple {
static constexpr std::array<FormatTuple, SurfaceParams::MaxPixelFormat> tex_format_tuples = {{
{GL_RGBA8, GL_RGBA, GL_UNSIGNED_INT_8_8_8_8_REV, false}, // ABGR8
- {GL_RGB, GL_RGB, GL_UNSIGNED_SHORT_5_6_5_REV, false}, // B5G6R5
+ {GL_RGB, GL_RGB, GL_UNSIGNED_SHORT_5_6_5, false}, // B5G6R5
{GL_RGB10_A2, GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV, false}, // A2B10G10R10
{GL_RGB5_A1, GL_RGBA, GL_UNSIGNED_SHORT_1_5_5_5_REV, false}, // A1B5G5R5
{GL_COMPRESSED_RGB_S3TC_DXT1_EXT, GL_RGB, GL_UNSIGNED_INT_8_8_8_8, true}, // DXT1