summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2020-06-13 17:21:27 +0200
committerMorph <39850852+Morph1984@users.noreply.github.com>2020-06-30 08:40:14 +0200
commit1b31755ba6eb3940d2ec0661337ef21913f9a756 (patch)
tree0d83f652d3117d1516e4d9c911dff6e79f58b22c /src/video_core
parentMerge pull request #4191 from Morph1984/vertex-formats (diff)
downloadyuzu-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 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/maxwell_to_gl.h6
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;