diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-05-08 23:16:57 +0200 |
---|---|---|
committer | Fernando Sahmkow <fsahmkow27@gmail.com> | 2023-05-09 02:42:10 +0200 |
commit | 8a214e5530311e9809030e2c55d2d1784169d5e7 (patch) | |
tree | 00b56c876fd13de0b6ab689f2721cba203056881 /src/video_core/renderer_opengl | |
parent | Merge pull request #10205 from jbeich/freebsd (diff) | |
download | yuzu-8a214e5530311e9809030e2c55d2d1784169d5e7.tar yuzu-8a214e5530311e9809030e2c55d2d1784169d5e7.tar.gz yuzu-8a214e5530311e9809030e2c55d2d1784169d5e7.tar.bz2 yuzu-8a214e5530311e9809030e2c55d2d1784169d5e7.tar.lz yuzu-8a214e5530311e9809030e2c55d2d1784169d5e7.tar.xz yuzu-8a214e5530311e9809030e2c55d2d1784169d5e7.tar.zst yuzu-8a214e5530311e9809030e2c55d2d1784169d5e7.zip |
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.cpp | 2 |
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 052456f61..31118886f 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.cpp +++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp @@ -231,7 +231,7 @@ void ApplySwizzle(GLuint handle, PixelFormat format, std::array<SwizzleSource, 4 [[nodiscard]] bool CanBeAccelerated(const TextureCacheRuntime& runtime, const VideoCommon::ImageInfo& info) { - if (IsPixelFormatASTC(info.format) && !runtime.HasNativeASTC()) { + if (IsPixelFormatASTC(info.format) && info.size.depth == 1 && !runtime.HasNativeASTC()) { return Settings::values.accelerate_astc.GetValue() && !Settings::values.async_astc.GetValue(); } |