diff options
| author | 2018-06-06 08:28:27 -0500 | |
|---|---|---|
| committer | 2018-06-06 08:28:27 -0500 | |
| commit | fa220dd709be2cda4043c5647280e45c1730d5b1 (patch) | |
| tree | 9b241795f9b50f0f18fb4c2b5d2d782785c1d699 /src | |
| parent | Merge pull request #527 from Subv/rgba32f_texcopy (diff) | |
| parent | maxwell_to_gl: Implement WrapMode Mirror. (diff) | |
| download | yuzu-fa220dd709be2cda4043c5647280e45c1730d5b1.tar.gz yuzu-fa220dd709be2cda4043c5647280e45c1730d5b1.tar.xz yuzu-fa220dd709be2cda4043c5647280e45c1730d5b1.zip | |
Merge pull request #530 from bunnei/wrap-mirror
maxwell_to_gl: Implement WrapMode Mirror.
Diffstat (limited to 'src')
| -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: |