Remove one more part of direct OpenGL drawing to the root window.
svn path=/branches/work/kwin_composite/; revision=604021
This commit is contained in:
parent
340e64ab51
commit
9a706bea89
1 changed files with 1 additions and 3 deletions
|
@ -203,9 +203,7 @@ SceneOpenGL::~SceneOpenGL()
|
||||||
++it )
|
++it )
|
||||||
(*it).free();
|
(*it).free();
|
||||||
// do cleanup after initBuffer()
|
// do cleanup after initBuffer()
|
||||||
if( buffer == rootWindow())
|
if( wspace->overlayWindow())
|
||||||
glXDestroyWindow( display(), glxbuffer );
|
|
||||||
else if( wspace->overlayWindow())
|
|
||||||
{
|
{
|
||||||
glXDestroyWindow( display(), glxbuffer );
|
glXDestroyWindow( display(), glxbuffer );
|
||||||
XDestroyWindow( display(), buffer );
|
XDestroyWindow( display(), buffer );
|
||||||
|
|
Loading…
Reference in a new issue