A window can be trasformed also by transforming the whole screen.
svn path=/branches/work/kwin_composite/; revision=628601
This commit is contained in:
parent
26e907c210
commit
43d393429d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue