[Scummvm-git-logs] scummvm master -> b1ccd91ba614fc61cd6ffff99d88bc88fc32d20d
ccawley2011
ccawley2011 at gmail.com
Wed Jun 16 23:53:02 UTC 2021
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
b1ccd91ba6 OPENGL: Fix compilation on Android
Commit: b1ccd91ba614fc61cd6ffff99d88bc88fc32d20d
https://github.com/scummvm/scummvm/commit/b1ccd91ba614fc61cd6ffff99d88bc88fc32d20d
Author: Cameron Cawley (ccawley2011 at gmail.com)
Date: 2021-06-17T00:52:46+01:00
Commit Message:
OPENGL: Fix compilation on Android
Changed paths:
backends/graphics/opengl/texture.cpp
diff --git a/backends/graphics/opengl/texture.cpp b/backends/graphics/opengl/texture.cpp
index 7f08b81110..e7700b68b8 100644
--- a/backends/graphics/opengl/texture.cpp
+++ b/backends/graphics/opengl/texture.cpp
@@ -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.
More information about the Scummvm-git-logs
mailing list