Merge branch 'mirrored_repeat' into 'master'
Mirrored repeat should not touch clamp state. See merge request simulant/GLdc!164
This commit is contained in:
commit
a4fb80c279
@ -1905,7 +1905,6 @@ void APIENTRY glTexParameteri(GLenum target, GLenum pname, GLint param) {
|
||||
break;
|
||||
|
||||
case GL_MIRRORED_REPEAT:
|
||||
active->uv_wrap &= ~CLAMP_U;
|
||||
active->uv_wrap |= MIRROR_U;
|
||||
break;
|
||||
}
|
||||
@ -1924,7 +1923,6 @@ void APIENTRY glTexParameteri(GLenum target, GLenum pname, GLint param) {
|
||||
break;
|
||||
|
||||
case GL_MIRRORED_REPEAT:
|
||||
active->uv_wrap &= ~CLAMP_V;
|
||||
active->uv_wrap |= MIRROR_V;
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user