diff options
author | David Marcec <dmarcecguzman@gmail.com> | 2018-08-18 18:26:50 +0200 |
---|---|---|
committer | David Marcec <dmarcecguzman@gmail.com> | 2018-08-18 18:26:50 +0200 |
commit | 71cc482bbdc2f7340937423c4ac83a13b609e9d7 (patch) | |
tree | 8fc164c367d966c0dc4835e19eb3482d3076154a /src/video_core/renderer_opengl/maxwell_to_gl.h | |
parent | Merge pull request #1100 from ogniK5377/missing-pred (diff) | |
download | yuzu-71cc482bbdc2f7340937423c4ac83a13b609e9d7.tar yuzu-71cc482bbdc2f7340937423c4ac83a13b609e9d7.tar.gz yuzu-71cc482bbdc2f7340937423c4ac83a13b609e9d7.tar.bz2 yuzu-71cc482bbdc2f7340937423c4ac83a13b609e9d7.tar.lz yuzu-71cc482bbdc2f7340937423c4ac83a13b609e9d7.tar.xz yuzu-71cc482bbdc2f7340937423c4ac83a13b609e9d7.tar.zst yuzu-71cc482bbdc2f7340937423c4ac83a13b609e9d7.zip |
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 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(); |