change post-increment to pre-increment in return value of nextHighest2(), as some compilers will not return the incremented value otherwise
svn-id: r50946
This commit is contained in:
parent
cfe85d6b9f
commit
3995b2d8f7
1 changed files with 1 additions and 1 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue