diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-02-24 01:01:17 +0100 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-02-28 03:34:00 +0100 |
commit | 7ee606517875f0d12d4c75c5c807f4b6a8ffcf58 (patch) | |
tree | e0c23b4c540868b9c44b383dd5ea963fd3a748f3 /src/video_core/renderer_opengl | |
parent | Merge pull request #3430 from bunnei/split-presenter (diff) | |
download | yuzu-7ee606517875f0d12d4c75c5c807f4b6a8ffcf58.tar yuzu-7ee606517875f0d12d4c75c5c807f4b6a8ffcf58.tar.gz yuzu-7ee606517875f0d12d4c75c5c807f4b6a8ffcf58.tar.bz2 yuzu-7ee606517875f0d12d4c75c5c807f4b6a8ffcf58.tar.lz yuzu-7ee606517875f0d12d4c75c5c807f4b6a8ffcf58.tar.xz yuzu-7ee606517875f0d12d4c75c5c807f4b6a8ffcf58.tar.zst yuzu-7ee606517875f0d12d4c75c5c807f4b6a8ffcf58.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"); } |