From 8100c40188a13fff471fbb4918532342445d0a26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Sun, 19 Nov 2006 20:02:25 +0000 Subject: [PATCH] Remove unused code. svn path=/branches/work/kwin_composite/; revision=606261 --- scene_opengl.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/scene_opengl.cpp b/scene_opengl.cpp index 2286479c89..5dff05ffd3 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -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 );