diff options
author | Joost Peters | 2010-07-16 22:20:21 +0000 |
---|---|---|
committer | Joost Peters | 2010-07-16 22:20:21 +0000 |
commit | 3995b2d8f7be017e68c89730e467dc32455a2b14 (patch) | |
tree | a61ef08a5b9528ac61fdae025d70642f0ef8b0a5 /backends/graphics/opengl/gltexture.cpp | |
parent | cfe85d6b9f1201a6ad3a88f9e97e58af92047264 (diff) | |
download | scummvm-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/gltexture.cpp')
-rw-r--r-- | backends/graphics/opengl/gltexture.cpp | 2 |
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() { |