aboutsummaryrefslogtreecommitdiff
path: root/backends/graphics/opengl
diff options
context:
space:
mode:
authorJoost Peters2010-07-16 22:20:21 +0000
committerJoost Peters2010-07-16 22:20:21 +0000
commit3995b2d8f7be017e68c89730e467dc32455a2b14 (patch)
treea61ef08a5b9528ac61fdae025d70642f0ef8b0a5 /backends/graphics/opengl
parentcfe85d6b9f1201a6ad3a88f9e97e58af92047264 (diff)
downloadscummvm-rg350-3995b2d8f7be017e68c89730e467dc32455a2b14.tar.gz
scummvm-rg350-3995b2d8f7be017e68c89730e467dc32455a2b14.tar.bz2
scummvm-rg350-3995b2d8f7be017e68c89730e467dc32455a2b14.zip
change post-increment to pre-increment in return value of nextHighest2(), as some compilers will not return the incremented value otherwise
svn-id: r50946
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() {