Remove unused code.

svn path=/branches/work/kwin_composite/; revision=606261
This commit is contained in:
Luboš Luňák 2006-11-19 20:02:25 +00:00
parent bb2299e00b
commit 8100c40188

View file

@ -317,8 +317,6 @@ void SceneOpenGL::initRenderingContext()
// create destination buffer
void SceneOpenGL::initBuffer()
{
XWindowAttributes attrs;
XGetWindowAttributes( display(), rootWindow(), &attrs );
if( findConfig( buffer_db_attrs, &fbcbuffer ) && wspace->createOverlay())
{ // we have overlay, try to create double-buffered window in it
XVisualInfo* visual = glXGetVisualFromFBConfig( display(), fbcbuffer );