diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-30 22:32:36 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-07-13 06:01:09 +0200 |
commit | 480850ffe7106a23f23946ad9ea46b800fa60168 (patch) | |
tree | f2fdbe25c51b0b7458b67df7c1f9338374438a9c /src/video_core/renderer_opengl/gl_texture_cache.cpp | |
parent | video_core: Fix B5G6R5U (diff) | |
download | yuzu-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 '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.cpp b/src/video_core/renderer_opengl/gl_texture_cache.cpp index ccfa7c9fe..7f85ceca9 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.cpp +++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp @@ -46,6 +46,7 @@ constexpr std::array<FormatTuple, VideoCore::Surface::MaxPixelFormat> tex_format {GL_RGBA8I, GL_RGBA_INTEGER, GL_BYTE}, // ABGR8I {GL_RGBA8UI, GL_RGBA_INTEGER, GL_UNSIGNED_BYTE}, // ABGR8UI {GL_RGB565, GL_RGB, GL_UNSIGNED_SHORT_5_6_5}, // B5G6R5U + {GL_RGB5_A1, GL_BGRA, GL_UNSIGNED_SHORT_1_5_5_5_REV}, // B5G5R5A1U {GL_RGB10_A2, GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV}, // A2B10G10R10U {GL_RGB10_A2UI, GL_RGBA_INTEGER, GL_UNSIGNED_INT_2_10_10_10_REV}, // A2B10G10R10UI {GL_RGB5_A1, GL_RGBA, GL_UNSIGNED_SHORT_1_5_5_5_REV}, // A1B5G5R5U |