summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/gl_graphics_pipeline.cpp
diff options
context:
space:
mode:
authorWollnashorn <Wollnashorn@users.noreply.github.com>2023-06-15 23:16:26 +0200
committerWollnashorn <Wollnashorn@users.noreply.github.com>2023-06-15 23:16:26 +0200
commita3b7b5b22af8ef83fc765afac9d6f6b8dac7f62b (patch)
tree0b3bea548cb1282d45a53365faea13e4321a69f8 /src/video_core/renderer_opengl/gl_graphics_pipeline.cpp
parentvideo_core: Disable AF for non-color image formats (diff)
downloadyuzu-a3b7b5b22af8ef83fc765afac9d6f6b8dac7f62b.tar
yuzu-a3b7b5b22af8ef83fc765afac9d6f6b8dac7f62b.tar.gz
yuzu-a3b7b5b22af8ef83fc765afac9d6f6b8dac7f62b.tar.bz2
yuzu-a3b7b5b22af8ef83fc765afac9d6f6b8dac7f62b.tar.lz
yuzu-a3b7b5b22af8ef83fc765afac9d6f6b8dac7f62b.tar.xz
yuzu-a3b7b5b22af8ef83fc765afac9d6f6b8dac7f62b.tar.zst
yuzu-a3b7b5b22af8ef83fc765afac9d6f6b8dac7f62b.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/gl_graphics_pipeline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_graphics_pipeline.cpp b/src/video_core/renderer_opengl/gl_graphics_pipeline.cpp
index 0fa0fc594..58e4e1919 100644
--- a/src/video_core/renderer_opengl/gl_graphics_pipeline.cpp
+++ b/src/video_core/renderer_opengl/gl_graphics_pipeline.cpp
@@ -488,7 +488,7 @@ void GraphicsPipeline::ConfigureImpl(bool is_indexed) {
const bool use_fallback_sampler{sampler.HasAddedAnisotropy() &&
!image_view.SupportsAnisotropy()};
gl_samplers[sampler_binding++] =
- use_fallback_sampler ? sampler.HandleWithoutAnisotropy() : sampler.Handle();
+ use_fallback_sampler ? sampler.HandleWithDefaultAnisotropy() : sampler.Handle();
}
}
for (const auto& desc : info.image_descriptors) {