Browse Source

Merge pull request #530 from bunnei/wrap-mirror

maxwell_to_gl: Implement WrapMode Mirror.
pull/15/merge
Sebastian Valle 8 years ago
committed by GitHub
parent
commit
fa220dd709
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/video_core/renderer_opengl/maxwell_to_gl.h

2
src/video_core/renderer_opengl/maxwell_to_gl.h

@ -100,6 +100,8 @@ inline GLenum WrapMode(Tegra::Texture::WrapMode wrap_mode) {
switch (wrap_mode) {
case Tegra::Texture::WrapMode::Wrap:
return GL_REPEAT;
case Tegra::Texture::WrapMode::Mirror:
return GL_MIRRORED_REPEAT;
case Tegra::Texture::WrapMode::ClampToEdge:
return GL_CLAMP_TO_EDGE;
case Tegra::Texture::WrapMode::ClampOGL:

Loading…
Cancel
Save