From 066a4583d76e95d9016c0057d3bd17843134e5b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Sun, 15 Oct 2006 18:00:52 +0000 Subject: [PATCH] Switch back to modelview matrix mode. svn path=/branches/work/kwin_composite/; revision=595801 --- scene_opengl.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scene_opengl.cpp b/scene_opengl.cpp index b30678fe0f..49950fb16f 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -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; }