diff options
author | bunnei <bunneidev@gmail.com> | 2018-06-06 03:49:57 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-06-06 05:56:45 +0200 |
commit | bf0543af231a96cd3c5932d5fd361a2317cfff2c (patch) | |
tree | f4c96d0dbdd24caa02c087880475c89bb0daa68e | |
parent | Merge pull request #516 from Subv/f2i_r (diff) | |
download | yuzu-bf0543af231a96cd3c5932d5fd361a2317cfff2c.tar yuzu-bf0543af231a96cd3c5932d5fd361a2317cfff2c.tar.gz yuzu-bf0543af231a96cd3c5932d5fd361a2317cfff2c.tar.bz2 yuzu-bf0543af231a96cd3c5932d5fd361a2317cfff2c.tar.lz yuzu-bf0543af231a96cd3c5932d5fd361a2317cfff2c.tar.xz yuzu-bf0543af231a96cd3c5932d5fd361a2317cfff2c.tar.zst yuzu-bf0543af231a96cd3c5932d5fd361a2317cfff2c.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: |