diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-06-07 07:52:23 +0200 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-07-21 16:56:54 +0200 |
commit | d146dd9d123a999e40307a93403239b81b04bffc (patch) | |
tree | 6d338ad871fa37b47f00938773d5e27195325897 /src/video_core/renderer_opengl/gl_texture_cache.cpp | |
parent | configuration: Use IDs to sort holds (diff) | |
download | yuzu-d146dd9d123a999e40307a93403239b81b04bffc.tar yuzu-d146dd9d123a999e40307a93403239b81b04bffc.tar.gz yuzu-d146dd9d123a999e40307a93403239b81b04bffc.tar.bz2 yuzu-d146dd9d123a999e40307a93403239b81b04bffc.tar.lz yuzu-d146dd9d123a999e40307a93403239b81b04bffc.tar.xz yuzu-d146dd9d123a999e40307a93403239b81b04bffc.tar.zst yuzu-d146dd9d123a999e40307a93403239b81b04bffc.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_texture_cache.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_texture_cache.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_texture_cache.cpp b/src/video_core/renderer_opengl/gl_texture_cache.cpp index 38ae12d8e..9cafd2983 100644 --- a/src/video_core/renderer_opengl/gl_texture_cache.cpp +++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp @@ -232,7 +232,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) && info.size.depth == 1 && !runtime.HasNativeASTC()) { - return Settings::values.accelerate_astc.GetValue() == Settings::AstcDecodeMode::GPU && + return Settings::values.accelerate_astc.GetValue() == Settings::AstcDecodeMode::Gpu && Settings::values.astc_recompression.GetValue() == Settings::AstcRecompression::Uncompressed; } @@ -267,7 +267,7 @@ void ApplySwizzle(GLuint handle, PixelFormat format, std::array<SwizzleSource, 4 const VideoCommon::ImageInfo& info) { if (IsPixelFormatASTC(info.format) && !runtime.HasNativeASTC()) { return Settings::values.accelerate_astc.GetValue() == - Settings::AstcDecodeMode::CPUAsynchronous; + Settings::AstcDecodeMode::CpuAsynchronous; } return false; } |