summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2020-03-08 04:28:35 +0100
committerGitHub <noreply@github.com>2020-03-08 04:28:35 +0100
commit84e9f9f39599b7af69c02ea17a95aa7216489fc5 (patch)
tree3a5d70ee520db322151d722874288451a4350a22 /src/video_core/renderer_opengl
parentMerge pull request #3481 from ReinUsesLisp/abgr5-storage (diff)
parentCreate an "Advanced" tab in the graphics configuration tab and add anisotropic filtering levels. (diff)
downloadyuzu-84e9f9f39599b7af69c02ea17a95aa7216489fc5.tar
yuzu-84e9f9f39599b7af69c02ea17a95aa7216489fc5.tar.gz
yuzu-84e9f9f39599b7af69c02ea17a95aa7216489fc5.tar.bz2
yuzu-84e9f9f39599b7af69c02ea17a95aa7216489fc5.tar.lz
yuzu-84e9f9f39599b7af69c02ea17a95aa7216489fc5.tar.xz
yuzu-84e9f9f39599b7af69c02ea17a95aa7216489fc5.tar.zst
yuzu-84e9f9f39599b7af69c02ea17a95aa7216489fc5.zip
Diffstat (limited to 'src/video_core/renderer_opengl')
-rw-r--r--src/video_core/renderer_opengl/gl_sampler_cache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_sampler_cache.cpp b/src/video_core/renderer_opengl/gl_sampler_cache.cpp
index 3ded5ecea..5c174879a 100644
--- a/src/video_core/renderer_opengl/gl_sampler_cache.cpp
+++ b/src/video_core/renderer_opengl/gl_sampler_cache.cpp
@@ -38,7 +38,7 @@ OGLSampler SamplerCacheOpenGL::CreateSampler(const Tegra::Texture::TSCEntry& tsc
glSamplerParameterf(sampler_id, GL_TEXTURE_MAX_ANISOTROPY, tsc.GetMaxAnisotropy());
} else if (GLAD_GL_EXT_texture_filter_anisotropic) {
glSamplerParameterf(sampler_id, GL_TEXTURE_MAX_ANISOTROPY_EXT, tsc.GetMaxAnisotropy());
- } else if (tsc.GetMaxAnisotropy() != 1) {
+ } else {
LOG_WARNING(Render_OpenGL, "Anisotropy not supported by host GPU driver");
}