summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgreggameplayer <gregoire.hage@gmail.com>2018-08-13 05:07:57 +0200
committerUnknown <gregoire.hage@gmail.com>2018-08-14 02:36:00 +0200
commit6bfcf13187f9b816e83a2c364ac15fd10b5d90d1 (patch)
treecf7de04e12d30c02196f44e52bea0e2ab3089474
parentMerge pull request #1046 from ogniK5377/missing-channels (diff)
downloadyuzu-6bfcf13187f9b816e83a2c364ac15fd10b5d90d1.tar
yuzu-6bfcf13187f9b816e83a2c364ac15fd10b5d90d1.tar.gz
yuzu-6bfcf13187f9b816e83a2c364ac15fd10b5d90d1.tar.bz2
yuzu-6bfcf13187f9b816e83a2c364ac15fd10b5d90d1.tar.lz
yuzu-6bfcf13187f9b816e83a2c364ac15fd10b5d90d1.tar.xz
yuzu-6bfcf13187f9b816e83a2c364ac15fd10b5d90d1.tar.zst
yuzu-6bfcf13187f9b816e83a2c364ac15fd10b5d90d1.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 4b48ab8e2..d2cfc3118 100644
--- a/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_rasterizer_cache.cpp
@@ -115,7 +115,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