diff options
author | Sebastian Valle <subv2112@gmail.com> | 2018-06-06 15:28:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-06 15:28:27 +0200 |
commit | fa220dd709be2cda4043c5647280e45c1730d5b1 (patch) | |
tree | 9b241795f9b50f0f18fb4c2b5d2d782785c1d699 | |
parent | Merge pull request #527 from Subv/rgba32f_texcopy (diff) | |
parent | maxwell_to_gl: Implement WrapMode Mirror. (diff) | |
download | yuzu-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.h | 2 |
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: |