Switch back to modelview matrix mode.

svn path=/branches/work/kwin_composite/; revision=595801
icc-effect-5.14.5
Luboš Luňák 2006-10-15 18:00:52 +00:00
parent d547cf8cd4
commit 066a4583d7
1 changed files with 2 additions and 0 deletions

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;
}