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).free();
|
||||
// do cleanup after initBuffer()
|
||||
if( buffer == rootWindow())
|
||||
glXDestroyWindow( display(), glxbuffer );
|
||||
else if( wspace->overlayWindow())
|
||||
if( wspace->overlayWindow())
|
||||
{
|
||||
glXDestroyWindow( display(), glxbuffer );
|
||||
XDestroyWindow( display(), buffer );
|
||||
|
|
Loading…
Reference in a new issue