summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2018-08-19 19:59:41 +0200
committerGitHub <noreply@github.com>2018-08-19 19:59:41 +0200
commitb0eb580931f9d7bf22d36cefc6aaea82b25236f8 (patch)
tree677716069940936f7102608628f6b43de5c9c1df /src/video_core
parentMerge pull request #1101 from Subv/ssy_stack (diff)
parentAdded check to see if ARB_texture_mirror_clamp_to_edge is supported (diff)
downloadyuzu-b0eb580931f9d7bf22d36cefc6aaea82b25236f8.tar
yuzu-b0eb580931f9d7bf22d36cefc6aaea82b25236f8.tar.gz
yuzu-b0eb580931f9d7bf22d36cefc6aaea82b25236f8.tar.bz2
yuzu-b0eb580931f9d7bf22d36cefc6aaea82b25236f8.tar.lz
yuzu-b0eb580931f9d7bf22d36cefc6aaea82b25236f8.tar.xz
yuzu-b0eb580931f9d7bf22d36cefc6aaea82b25236f8.tar.zst
yuzu-b0eb580931f9d7bf22d36cefc6aaea82b25236f8.zip
Diffstat (limited to 'src/video_core')
-rw-r--r--src/video_core/renderer_opengl/maxwell_to_gl.h2
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 8f719fdd8..5d91a0c2f 100644
--- a/src/video_core/renderer_opengl/maxwell_to_gl.h
+++ b/src/video_core/renderer_opengl/maxwell_to_gl.h
@@ -147,6 +147,8 @@ inline GLenum WrapMode(Tegra::Texture::WrapMode wrap_mode) {
// GL_CLAMP_TO_BORDER to get the border color of the texture, and then sample the edge to
// manually mix them. However the shader part of this is not yet implemented.
return GL_CLAMP_TO_BORDER;
+ case Tegra::Texture::WrapMode::MirrorOnceClampToEdge:
+ return GL_MIRROR_CLAMP_TO_EDGE;
}
LOG_CRITICAL(Render_OpenGL, "Unimplemented texture wrap mode={}", static_cast<u32>(wrap_mode));
UNREACHABLE();