OPENGL: Fix compilation on Android

This commit is contained in:
Cameron Cawley 2021-06-17 00:52:46 +01:00
parent 70f0dff173
commit b1ccd91ba6

View file

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