summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-14 14:03:07 +0200
committerGitHub <noreply@github.com>2018-08-14 14:03:07 +0200
commit4dacb8a4b1f422f85f55a7d0d6ce2756203b247a (patch)
tree56bbd6f490547a52d516184e06a669045f0d0687
parentMerge pull request #1050 from bunnei/rgba16-unorm (diff)
parentFix BC7U (diff)
downloadyuzu-4dacb8a4b1f422f85f55a7d0d6ce2756203b247a.tar
yuzu-4dacb8a4b1f422f85f55a7d0d6ce2756203b247a.tar.gz
yuzu-4dacb8a4b1f422f85f55a7d0d6ce2756203b247a.tar.bz2
yuzu-4dacb8a4b1f422f85f55a7d0d6ce2756203b247a.tar.lz
yuzu-4dacb8a4b1f422f85f55a7d0d6ce2756203b247a.tar.xz
yuzu-4dacb8a4b1f422f85f55a7d0d6ce2756203b247a.tar.zst
yuzu-4dacb8a4b1f422f85f55a7d0d6ce2756203b247a.zip
-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 b6329d2dc..5d58ebd4f 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
@@ -116,7 +116,7 @@ static constexpr std::array<FormatTuple, SurfaceParams::MaxPixelFormat> tex_form
{GL_COMPRESSED_RG_RGTC2, GL_RG, GL_UNSIGNED_INT_8_8_8_8, ComponentType::UNorm,
true}, // DXN2UNORM
{GL_COMPRESSED_SIGNED_RG_RGTC2, GL_RG, GL_INT, ComponentType::SNorm, true}, // DXN2SNORM
- {GL_COMPRESSED_RGBA_BPTC_UNORM_ARB, GL_RGB, GL_UNSIGNED_INT_8_8_8_8, ComponentType::UNorm,
+ {GL_COMPRESSED_RGBA_BPTC_UNORM_ARB, GL_RGBA, GL_UNSIGNED_INT_8_8_8_8, ComponentType::UNorm,
true}, // BC7U
{GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE, ComponentType::UNorm, false}, // ASTC_2D_4X4
{GL_RG8, GL_RG, GL_UNSIGNED_BYTE, ComponentType::UNorm, false}, // G8R8