summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Valle <subv2112@gmail.com>2018-06-06 15:28:27 +0200
committerGitHub <noreply@github.com>2018-06-06 15:28:27 +0200
commitfa220dd709be2cda4043c5647280e45c1730d5b1 (patch)
tree9b241795f9b50f0f18fb4c2b5d2d782785c1d699
parentMerge pull request #527 from Subv/rgba32f_texcopy (diff)
parentmaxwell_to_gl: Implement WrapMode Mirror. (diff)
downloadyuzu-fa220dd709be2cda4043c5647280e45c1730d5b1.tar
yuzu-fa220dd709be2cda4043c5647280e45c1730d5b1.tar.gz
yuzu-fa220dd709be2cda4043c5647280e45c1730d5b1.tar.bz2
yuzu-fa220dd709be2cda4043c5647280e45c1730d5b1.tar.lz
yuzu-fa220dd709be2cda4043c5647280e45c1730d5b1.tar.xz
yuzu-fa220dd709be2cda4043c5647280e45c1730d5b1.tar.zst
yuzu-fa220dd709be2cda4043c5647280e45c1730d5b1.zip
-rw-r--r--src/video_core/renderer_opengl/maxwell_to_gl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/maxwell_to_gl.h b/src/video_core/renderer_opengl/maxwell_to_gl.h
index a630610d8..cf11983cf 100644
--- a/src/video_core/renderer_opengl/maxwell_to_gl.h
+++ b/src/video_core/renderer_opengl/maxwell_to_gl.h
@@ -100,6 +100,8 @@ inline GLenum WrapMode(Tegra::Texture::WrapMode wrap_mode) {
switch (wrap_mode) {
case Tegra::Texture::WrapMode::Wrap:
return GL_REPEAT;
+ case Tegra::Texture::WrapMode::Mirror:
+ return GL_MIRRORED_REPEAT;
case Tegra::Texture::WrapMode::ClampToEdge:
return GL_CLAMP_TO_EDGE;
case Tegra::Texture::WrapMode::ClampOGL: