[Scummvm-cvs-logs] SF.net SVN: scummvm:[50946] scummvm/branches/gsoc2010-opengl/backends/ graphics/opengl/gltexture.cpp
joostp at users.sourceforge.net
joostp at users.sourceforge.net
Sat Jul 17 00:20:21 CEST 2010
Revision: 50946
http://scummvm.svn.sourceforge.net/scummvm/?rev=50946&view=rev
Author: joostp
Date: 2010-07-16 22:20:21 +0000 (Fri, 16 Jul 2010)
Log Message:
-----------
change post-increment to pre-increment in return value of nextHighest2(), as some compilers will not return the incremented value otherwise
Modified Paths:
--------------
scummvm/branches/gsoc2010-opengl/backends/graphics/opengl/gltexture.cpp
Modified: scummvm/branches/gsoc2010-opengl/backends/graphics/opengl/gltexture.cpp
===================================================================
--- scummvm/branches/gsoc2010-opengl/backends/graphics/opengl/gltexture.cpp 2010-07-16 21:56:50 UTC (rev 50945)
+++ scummvm/branches/gsoc2010-opengl/backends/graphics/opengl/gltexture.cpp 2010-07-16 22:20:21 UTC (rev 50946)
@@ -50,7 +50,7 @@
v |= v >> 4;
v |= v >> 8;
v |= v >> 16;
- return v++;
+ return ++v;
}
void GLTexture::initGLExtensions() {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list