diff options
author | bunnei <bunneidev@gmail.com> | 2018-07-24 00:55:24 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-07-24 05:34:41 +0200 |
commit | 6b3e54621f8f13a754fe4c600f281bd79a3243b9 (patch) | |
tree | 0e24cb43a12f3b5da74d357dd11bec1a3b1b5e76 | |
parent | Merge pull request #791 from bunnei/rg32f-rgba32f-bgra8 (diff) | |
download | yuzu-6b3e54621f8f13a754fe4c600f281bd79a3243b9.tar yuzu-6b3e54621f8f13a754fe4c600f281bd79a3243b9.tar.gz yuzu-6b3e54621f8f13a754fe4c600f281bd79a3243b9.tar.bz2 yuzu-6b3e54621f8f13a754fe4c600f281bd79a3243b9.tar.lz yuzu-6b3e54621f8f13a754fe4c600f281bd79a3243b9.tar.xz yuzu-6b3e54621f8f13a754fe4c600f281bd79a3243b9.tar.zst yuzu-6b3e54621f8f13a754fe4c600f281bd79a3243b9.zip |
-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 e19c3b280..369bdd905 100644 --- a/src/video_core/renderer_opengl/maxwell_to_gl.h +++ b/src/video_core/renderer_opengl/maxwell_to_gl.h @@ -112,6 +112,8 @@ inline GLenum WrapMode(Tegra::Texture::WrapMode wrap_mode) { return GL_MIRRORED_REPEAT; case Tegra::Texture::WrapMode::ClampToEdge: return GL_CLAMP_TO_EDGE; + case Tegra::Texture::WrapMode::Border: + return GL_CLAMP_TO_BORDER; case Tegra::Texture::WrapMode::ClampOGL: // TODO(Subv): GL_CLAMP was removed as of OpenGL 3.1, to implement GL_CLAMP, we can use // GL_CLAMP_TO_BORDER to get the border color of the texture, and then sample the edge to |