diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-06-13 17:21:27 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2020-06-30 08:40:14 +0200 |
commit | 1b31755ba6eb3940d2ec0661337ef21913f9a756 (patch) | |
tree | 0d83f652d3117d1516e4d9c911dff6e79f58b22c | |
parent | Merge pull request #4191 from Morph1984/vertex-formats (diff) | |
download | yuzu-1b31755ba6eb3940d2ec0661337ef21913f9a756.tar yuzu-1b31755ba6eb3940d2ec0661337ef21913f9a756.tar.gz yuzu-1b31755ba6eb3940d2ec0661337ef21913f9a756.tar.bz2 yuzu-1b31755ba6eb3940d2ec0661337ef21913f9a756.tar.lz yuzu-1b31755ba6eb3940d2ec0661337ef21913f9a756.tar.xz yuzu-1b31755ba6eb3940d2ec0661337ef21913f9a756.tar.zst yuzu-1b31755ba6eb3940d2ec0661337ef21913f9a756.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/maxwell_to_gl.h | 6 |
1 files changed, 6 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 774e70a5b..fe9bd4b5a 100644 --- a/src/video_core/renderer_opengl/maxwell_to_gl.h +++ b/src/video_core/renderer_opengl/maxwell_to_gl.h @@ -191,6 +191,12 @@ inline GLenum WrapMode(Tegra::Texture::WrapMode wrap_mode) { } else { return GL_MIRROR_CLAMP_TO_EDGE; } + case Tegra::Texture::WrapMode::MirrorOnceClampOGL: + if (GL_EXT_texture_mirror_clamp) { + return GL_MIRROR_CLAMP_EXT; + } else { + return GL_MIRROR_CLAMP_TO_EDGE; + } } UNIMPLEMENTED_MSG("Unimplemented texture wrap mode={}", static_cast<u32>(wrap_mode)); return GL_REPEAT; |