aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl
diff options
context:
space:
mode:
Diffstat (limited to 'backends/graphics/opengl')
-rw-r--r--backends/graphics/opengl/gltexture.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/graphics/opengl/gltexture.cpp b/backends/graphics/opengl/gltexture.cpp
index eada261ca2..0803c74f9a 100644
--- a/backends/graphics/opengl/gltexture.cpp
+++ b/backends/graphics/opengl/gltexture.cpp
@@ -50,7 +50,7 @@ static GLuint nextHigher2(GLuint v) {
v |= v >> 4;
v |= v >> 8;
v |= v >> 16;
- return v++;
+ return ++v;
}
void GLTexture::initGLExtensions() {