MaxwellToGL: Implemented tex wrap mode 1 (Wrap, GL_REPEAT).

merge-requests/60/head
Subv 2018-04-17 10:17:18 +07:00
parent 7fc516cc1a
commit 636ad34707
1 changed files with 2 additions and 0 deletions

@ -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: