OPENGL: Fix compilation on Android
This commit is contained in:
parent
70f0dff173
commit
b1ccd91ba6
1 changed files with 2 additions and 0 deletions
|
@ -81,8 +81,10 @@ void GLTexture::create() {
|
|||
GL_CALL(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE));
|
||||
GL_CALL(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP_TO_EDGE));
|
||||
} else {
|
||||
#if !USE_FORCED_GLES && !USE_FORCED_GLES2
|
||||
GL_CALL(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP));
|
||||
GL_CALL(glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_T, GL_CLAMP));
|
||||
#endif
|
||||
}
|
||||
|
||||
// If a size is specified, allocate memory for it.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue