diff options
| author | 2018-06-05 21:49:57 -0400 | |
|---|---|---|
| committer | 2018-06-05 23:56:45 -0400 | |
| commit | bf0543af231a96cd3c5932d5fd361a2317cfff2c (patch) | |
| tree | f4c96d0dbdd24caa02c087880475c89bb0daa68e /src | |
| parent | Merge pull request #516 from Subv/f2i_r (diff) | |
| download | yuzu-bf0543af231a96cd3c5932d5fd361a2317cfff2c.tar.gz yuzu-bf0543af231a96cd3c5932d5fd361a2317cfff2c.tar.xz yuzu-bf0543af231a96cd3c5932d5fd361a2317cfff2c.zip | |
maxwell_to_gl: Implement WrapMode Mirror.
Diffstat (limited to '')
| -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) { | |||
| 100 | switch (wrap_mode) { | 100 | switch (wrap_mode) { |
| 101 | case Tegra::Texture::WrapMode::Wrap: | 101 | case Tegra::Texture::WrapMode::Wrap: |
| 102 | return GL_REPEAT; | 102 | return GL_REPEAT; |
| 103 | case Tegra::Texture::WrapMode::Mirror: | ||
| 104 | return GL_MIRRORED_REPEAT; | ||
| 103 | case Tegra::Texture::WrapMode::ClampToEdge: | 105 | case Tegra::Texture::WrapMode::ClampToEdge: |
| 104 | return GL_CLAMP_TO_EDGE; | 106 | return GL_CLAMP_TO_EDGE; |
| 105 | case Tegra::Texture::WrapMode::ClampOGL: | 107 | case Tegra::Texture::WrapMode::ClampOGL: |