Treat GL_CLAMP_TO_EDGE the same as GL_CLAMP
This commit is contained in:
parent
ac86504549
commit
8fff6ee1aa
|
@ -1593,6 +1593,7 @@ void APIENTRY glTexParameteri(GLenum target, GLenum pname, GLint param) {
|
|||
break;
|
||||
case GL_TEXTURE_WRAP_S:
|
||||
switch(param) {
|
||||
case GL_CLAMP_TO_EDGE:
|
||||
case GL_CLAMP:
|
||||
active->uv_clamp |= CLAMP_U;
|
||||
break;
|
||||
|
@ -1606,6 +1607,7 @@ void APIENTRY glTexParameteri(GLenum target, GLenum pname, GLint param) {
|
|||
|
||||
case GL_TEXTURE_WRAP_T:
|
||||
switch(param) {
|
||||
case GL_CLAMP_TO_EDGE:
|
||||
case GL_CLAMP:
|
||||
active->uv_clamp |= CLAMP_V;
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue
Block a user