diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-09-17 08:32:24 +0200 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-09-17 08:32:24 +0200 |
commit | 2dd64117532e8c738e66ad45b009522e1acc53f2 (patch) | |
tree | 78193209fc693f8ef9a1c41e43568e6171b7682e | |
parent | Merge pull request #2851 from ReinUsesLisp/srgb (diff) | |
download | yuzu-2dd64117532e8c738e66ad45b009522e1acc53f2.tar yuzu-2dd64117532e8c738e66ad45b009522e1acc53f2.tar.gz yuzu-2dd64117532e8c738e66ad45b009522e1acc53f2.tar.bz2 yuzu-2dd64117532e8c738e66ad45b009522e1acc53f2.tar.lz yuzu-2dd64117532e8c738e66ad45b009522e1acc53f2.tar.xz yuzu-2dd64117532e8c738e66ad45b009522e1acc53f2.tar.zst yuzu-2dd64117532e8c738e66ad45b009522e1acc53f2.zip |
-rw-r--r-- | src/video_core/renderer_opengl/maxwell_to_gl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/maxwell_to_gl.h b/src/video_core/renderer_opengl/maxwell_to_gl.h index ea77dd211..9ed738171 100644 --- a/src/video_core/renderer_opengl/maxwell_to_gl.h +++ b/src/video_core/renderer_opengl/maxwell_to_gl.h @@ -145,7 +145,7 @@ inline GLenum TextureFilterMode(Tegra::Texture::TextureFilter filter_mode, case Tegra::Texture::TextureMipmapFilter::None: return GL_LINEAR; case Tegra::Texture::TextureMipmapFilter::Nearest: - return GL_NEAREST_MIPMAP_LINEAR; + return GL_LINEAR_MIPMAP_NEAREST; case Tegra::Texture::TextureMipmapFilter::Linear: return GL_LINEAR_MIPMAP_LINEAR; } @@ -157,7 +157,7 @@ inline GLenum TextureFilterMode(Tegra::Texture::TextureFilter filter_mode, case Tegra::Texture::TextureMipmapFilter::Nearest: return GL_NEAREST_MIPMAP_NEAREST; case Tegra::Texture::TextureMipmapFilter::Linear: - return GL_LINEAR_MIPMAP_NEAREST; + return GL_NEAREST_MIPMAP_LINEAR; } } } |