Commit 31e4e950 authored by Luboš Luňák's avatar Luboš Luňák
Browse files

Handle Y inverting properly with normalized coordinates.


svn path=/trunk/KDE/kdebase/workspace/; revision=904306
parent 5df75b84
......@@ -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 );
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment