From 43d393429d077cf6d00294a8e5f46406f02a86ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Tue, 30 Jan 2007 16:36:53 +0000 Subject: [PATCH] A window can be trasformed also by transforming the whole screen. svn path=/branches/work/kwin_composite/; revision=628601 --- scene_opengl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene_opengl.cpp b/scene_opengl.cpp index 99949364ce..7cf0b186e4 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -1163,7 +1163,7 @@ void SceneOpenGL::Window::performPaint( int mask, QRegion region, WindowPaintDat glEnableClientState( GL_TEXTURE_COORD_ARRAY ); glTexCoordPointer(2, GL_FLOAT, sizeof(Vertex), verticeslist[0].texcoord); // Render - if( mask & PAINT_WINDOW_TRANSFORMED ) + if( mask & ( PAINT_WINDOW_TRANSFORMED | PAINT_SCREEN_TRANSFORMED )) // Just draw the entire window, no clipping glDrawArrays( GL_QUADS, 0, verticeslist.count() ); else