summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-01-14 21:38:33 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-01-14 21:38:33 +0100
commitcdb00546f02b99b1e9118db9c5238ce6e6bb6a2e (patch)
tree5058fe97af9bef9d9fe71a70b5c9d813d70b29ee
parentgl_texture_cache: Use Snorm internal format for RG8S (diff)
downloadyuzu-cdb00546f02b99b1e9118db9c5238ce6e6bb6a2e.tar
yuzu-cdb00546f02b99b1e9118db9c5238ce6e6bb6a2e.tar.gz
yuzu-cdb00546f02b99b1e9118db9c5238ce6e6bb6a2e.tar.bz2
yuzu-cdb00546f02b99b1e9118db9c5238ce6e6bb6a2e.tar.lz
yuzu-cdb00546f02b99b1e9118db9c5238ce6e6bb6a2e.tar.xz
yuzu-cdb00546f02b99b1e9118db9c5238ce6e6bb6a2e.tar.zst
yuzu-cdb00546f02b99b1e9118db9c5238ce6e6bb6a2e.zip
-rw-r--r--src/video_core/renderer_opengl/gl_texture_cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.cpp b/src/video_core/renderer_opengl/gl_texture_cache.cpp
index eb5198d72..0996053f5 100644
--- a/src/video_core/renderer_opengl/gl_texture_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp
@@ -85,7 +85,7 @@ constexpr std::array<FormatTuple, VideoCore::Surface::MaxPixelFormat> tex_format
{GL_RG8, GL_RG, GL_UNSIGNED_BYTE, false}, // RG8U
{GL_RG8_SNORM, GL_RG, GL_BYTE, false}, // RG8S
{GL_RG32UI, GL_RG_INTEGER, GL_UNSIGNED_INT, false}, // RG32UI
- {GL_RGB16F, GL_RGBA16, GL_HALF_FLOAT, false}, // RGBX16F
+ {GL_RGB16F, GL_RGBA, GL_HALF_FLOAT, false}, // RGBX16F
{GL_R32UI, GL_RED_INTEGER, GL_UNSIGNED_INT, false}, // R32UI
{GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE, false}, // ASTC_2D_8X8
{GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE, false}, // ASTC_2D_8X5