summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2019-09-17 08:32:24 +0200
committerReinUsesLisp <reinuseslisp@airmail.cc>2019-09-17 08:32:24 +0200
commit2dd64117532e8c738e66ad45b009522e1acc53f2 (patch)
tree78193209fc693f8ef9a1c41e43568e6171b7682e /src
parentMerge pull request #2851 from ReinUsesLisp/srgb (diff)
downloadyuzu-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
Diffstat (limited to 'src')
-rw-r--r--src/video_core/renderer_opengl/maxwell_to_gl.h4
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;
}
}
}