Switch back to modelview matrix mode.
svn path=/branches/work/kwin_composite/; revision=595801
This commit is contained in:
parent
d547cf8cd4
commit
066a4583d7
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue