diff options
Diffstat (limited to 'src')
| -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) { | |||
| 112 | return GL_MIRRORED_REPEAT; | 112 | return GL_MIRRORED_REPEAT; |
| 113 | case Tegra::Texture::WrapMode::ClampToEdge: | 113 | case Tegra::Texture::WrapMode::ClampToEdge: |
| 114 | return GL_CLAMP_TO_EDGE; | 114 | return GL_CLAMP_TO_EDGE; |
| 115 | case Tegra::Texture::WrapMode::Border: | ||
| 116 | return GL_CLAMP_TO_BORDER; | ||
| 115 | case Tegra::Texture::WrapMode::ClampOGL: | 117 | case Tegra::Texture::WrapMode::ClampOGL: |
| 116 | // TODO(Subv): GL_CLAMP was removed as of OpenGL 3.1, to implement GL_CLAMP, we can use | 118 | // TODO(Subv): GL_CLAMP was removed as of OpenGL 3.1, to implement GL_CLAMP, we can use |
| 117 | // GL_CLAMP_TO_BORDER to get the border color of the texture, and then sample the edge to | 119 | // GL_CLAMP_TO_BORDER to get the border color of the texture, and then sample the edge to |