yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

maxwell_to_gl: Implement WrapMode Mirror.

This commit is contained in:
bunnei 2018-06-05 21:49:57 -04:00
parent 5fb99e6a16
commit bf0543af23
1 changed files with 2 additions and 0 deletions

View File

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