Handle Y inverting properly with normalized coordinates.
svn path=/trunk/KDE/kdebase/workspace/; revision=904306
This commit is contained in:
parent
5df75b84a4
commit
31e4e950b6
1 changed files with 1 additions and 1 deletions
|
@ -546,7 +546,7 @@ void GLTexture::enableNormalizedTexCoords()
|
|||
// Modify texture matrix so that we could always use non-opengl
|
||||
// coordinates for textures
|
||||
glScalef( 1, -1, 1 );
|
||||
glTranslatef( 0, -mSize.height(), 0 );
|
||||
glTranslatef( 0, -1, 0 );
|
||||
}
|
||||
glMatrixMode( GL_MODELVIEW );
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue