summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorDavid <25727384+ogniK5377@users.noreply.github.com>2019-09-21 11:57:09 +0200
committerGitHub <noreply@github.com>2019-09-21 11:57:09 +0200
commit9ad42fb0cfc9f38084ec608ce8675365aea7de5b (patch)
tree1b59303a0432c1b89d11052a30d80f6931886ae2 /src/video_core
parentMerge pull request #2879 from ogniK5377/trace-submitgpfifo (diff)
parentmaxwell_to_gl: Fix mipmap filtering (diff)
downloadyuzu-9ad42fb0cfc9f38084ec608ce8675365aea7de5b.tar
yuzu-9ad42fb0cfc9f38084ec608ce8675365aea7de5b.tar.gz
yuzu-9ad42fb0cfc9f38084ec608ce8675365aea7de5b.tar.bz2
yuzu-9ad42fb0cfc9f38084ec608ce8675365aea7de5b.tar.lz
yuzu-9ad42fb0cfc9f38084ec608ce8675365aea7de5b.tar.xz
yuzu-9ad42fb0cfc9f38084ec608ce8675365aea7de5b.tar.zst
yuzu-9ad42fb0cfc9f38084ec608ce8675365aea7de5b.zip
Diffstat (limited to 'src/video_core')
-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;
}
}
}