summaryrefslogtreecommitdiffstats
path: root/src/video_core
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-04-17 17:17:18 +0200
committerSubv <subv2112@gmail.com>2018-04-17 17:17:18 +0200
commit636ad347071b387bd8ff3c45190115fa5b6caf65 (patch)
treef9efb1143e33e9d69caefad627dd3fb9bbe207f2 /src/video_core
parentMaxwellToGL: Added a TODO and partial implementation of maxwell wrap mode 4 (Clamp, GL_CLAMP). (diff)
downloadyuzu-636ad347071b387bd8ff3c45190115fa5b6caf65.tar
yuzu-636ad347071b387bd8ff3c45190115fa5b6caf65.tar.gz
yuzu-636ad347071b387bd8ff3c45190115fa5b6caf65.tar.bz2
yuzu-636ad347071b387bd8ff3c45190115fa5b6caf65.tar.lz
yuzu-636ad347071b387bd8ff3c45190115fa5b6caf65.tar.xz
yuzu-636ad347071b387bd8ff3c45190115fa5b6caf65.tar.zst
yuzu-636ad347071b387bd8ff3c45190115fa5b6caf65.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 9d04a4d65..8600ea91a 100644
--- a/src/video_core/renderer_opengl/maxwell_to_gl.h
+++ b/src/video_core/renderer_opengl/maxwell_to_gl.h
@@ -72,6 +72,8 @@ inline GLenum TextureFilterMode(Tegra::Texture::TextureFilter filter_mode) {
inline GLenum WrapMode(Tegra::Texture::WrapMode wrap_mode) {
switch (wrap_mode) {
+ case Tegra::Texture::WrapMode::Wrap:
+ return GL_REPEAT;
case Tegra::Texture::WrapMode::ClampToEdge:
return GL_CLAMP_TO_EDGE;
case Tegra::Texture::WrapMode::ClampOGL: