diff options
author | bunnei <bunneidev@gmail.com> | 2021-09-30 01:10:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-30 01:10:56 +0200 |
commit | 91341b421d23e3f1674bd0c2354636ff6b3c9180 (patch) | |
tree | f9f69fafb399eda88e177472e485add140a7c69a /src/video_core/renderer_opengl/maxwell_to_gl.h | |
parent | Merge pull request #7106 from astrelsky/invalid_iterator_fix (diff) | |
parent | host_shaders: Remove opengl_copy_bgra.comp (diff) | |
download | yuzu-91341b421d23e3f1674bd0c2354636ff6b3c9180.tar yuzu-91341b421d23e3f1674bd0c2354636ff6b3c9180.tar.gz yuzu-91341b421d23e3f1674bd0c2354636ff6b3c9180.tar.bz2 yuzu-91341b421d23e3f1674bd0c2354636ff6b3c9180.tar.lz yuzu-91341b421d23e3f1674bd0c2354636ff6b3c9180.tar.xz yuzu-91341b421d23e3f1674bd0c2354636ff6b3c9180.tar.zst yuzu-91341b421d23e3f1674bd0c2354636ff6b3c9180.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/maxwell_to_gl.h')
-rw-r--r-- | src/video_core/renderer_opengl/maxwell_to_gl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/maxwell_to_gl.h b/src/video_core/renderer_opengl/maxwell_to_gl.h index 672f94bfc..39158aa3e 100644 --- a/src/video_core/renderer_opengl/maxwell_to_gl.h +++ b/src/video_core/renderer_opengl/maxwell_to_gl.h @@ -52,7 +52,7 @@ constexpr std::array<FormatTuple, VideoCore::Surface::MaxPixelFormat> FORMAT_TAB {GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT}, // BC6H_UFLOAT {GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT}, // BC6H_SFLOAT {GL_COMPRESSED_RGBA_ASTC_4x4_KHR}, // ASTC_2D_4X4_UNORM - {GL_RGBA8, GL_RGBA, GL_UNSIGNED_BYTE}, // B8G8R8A8_UNORM + {GL_RGBA8, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV}, // B8G8R8A8_UNORM {GL_RGBA32F, GL_RGBA, GL_FLOAT}, // R32G32B32A32_FLOAT {GL_RGBA32I, GL_RGBA_INTEGER, GL_INT}, // R32G32B32A32_SINT {GL_RG32F, GL_RG, GL_FLOAT}, // R32G32_FLOAT @@ -81,7 +81,7 @@ constexpr std::array<FormatTuple, VideoCore::Surface::MaxPixelFormat> FORMAT_TAB {GL_COMPRESSED_RGBA_ASTC_8x8_KHR}, // ASTC_2D_8X8_UNORM {GL_COMPRESSED_RGBA_ASTC_8x5_KHR}, // ASTC_2D_8X5_UNORM {GL_COMPRESSED_RGBA_ASTC_5x4_KHR}, // ASTC_2D_5X4_UNORM - {GL_SRGB8_ALPHA8, GL_RGBA, GL_UNSIGNED_BYTE}, // B8G8R8A8_SRGB + {GL_SRGB8_ALPHA8, GL_BGRA, GL_UNSIGNED_INT_8_8_8_8_REV}, // B8G8R8A8_SRGB {GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT}, // BC1_RGBA_SRGB {GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT}, // BC2_SRGB {GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}, // BC3_SRGB |