Switch back to modelview matrix mode.

svn path=/branches/work/kwin_composite/; revision=595801
This commit is contained in:
Luboš Luňák 2006-10-15 18:00:52 +00:00
parent d547cf8cd4
commit 066a4583d7

View file

@ -140,6 +140,8 @@ SceneOpenGL::SceneOpenGL( Workspace* ws )
glMatrixMode( GL_PROJECTION );
glLoadIdentity();
glOrtho( 0, displayWidth(), 0, displayHeight(), 0, 65535 );
glMatrixMode( GL_MODELVIEW );
glLoadIdentity();
checkGLError( "Init" );
kDebug() << "Root DB:" << root_db << ", TFP:" << tfp_mode << endl;
}