diff options
author | bunnei <bunneidev@gmail.com> | 2020-03-08 04:28:35 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-08 04:28:35 +0100 |
commit | 84e9f9f39599b7af69c02ea17a95aa7216489fc5 (patch) | |
tree | 3a5d70ee520db322151d722874288451a4350a22 /src/video_core/renderer_opengl | |
parent | Merge pull request #3481 from ReinUsesLisp/abgr5-storage (diff) | |
parent | Create an "Advanced" tab in the graphics configuration tab and add anisotropic filtering levels. (diff) | |
download | yuzu-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.cpp | 2 |
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"); } |