diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-06-30 08:51:42 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2020-07-13 06:01:08 +0200 |
commit | fd33e996e0d6d441917446f7a9ec854b0a79a909 (patch) | |
tree | fcc3d6086372cb7b04f2ed494ea60ce30298dfc2 /src/video_core/renderer_opengl/gl_texture_cache.cpp | |
parent | video_core/surface: Remove explicit values on PixelFormat's definition (diff) | |
download | yuzu-fd33e996e0d6d441917446f7a9ec854b0a79a909.tar yuzu-fd33e996e0d6d441917446f7a9ec854b0a79a909.tar.gz yuzu-fd33e996e0d6d441917446f7a9ec854b0a79a909.tar.bz2 yuzu-fd33e996e0d6d441917446f7a9ec854b0a79a909.tar.lz yuzu-fd33e996e0d6d441917446f7a9ec854b0a79a909.tar.xz yuzu-fd33e996e0d6d441917446f7a9ec854b0a79a909.tar.zst yuzu-fd33e996e0d6d441917446f7a9ec854b0a79a909.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 61505879b..6319b0006 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.cpp +++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp @@ -48,6 +48,7 @@ constexpr std::array<FormatTuple, VideoCore::Surface::MaxPixelFormat> tex_format {GL_RGB10_A2, GL_RGBA, GL_UNSIGNED_INT_2_10_10_10_REV}, // A2B10G10R10U {GL_RGB5_A1, GL_RGBA, GL_UNSIGNED_SHORT_1_5_5_5_REV}, // A1B5G5R5U {GL_R8, GL_RED, GL_UNSIGNED_BYTE}, // R8U + {GL_R8_SNORM, GL_RED, GL_BYTE}, // R8S {GL_R8UI, GL_RED_INTEGER, GL_UNSIGNED_BYTE}, // R8UI {GL_RGBA16F, GL_RGBA, GL_HALF_FLOAT}, // RGBA16F {GL_RGBA16, GL_RGBA, GL_UNSIGNED_SHORT}, // RGBA16U |