Remove unused code.
svn path=/branches/work/kwin_composite/; revision=606261
This commit is contained in:
parent
bb2299e00b
commit
8100c40188
1 changed files with 0 additions and 2 deletions
|
@ -317,8 +317,6 @@ void SceneOpenGL::initRenderingContext()
|
||||||
// create destination buffer
|
// create destination buffer
|
||||||
void SceneOpenGL::initBuffer()
|
void SceneOpenGL::initBuffer()
|
||||||
{
|
{
|
||||||
XWindowAttributes attrs;
|
|
||||||
XGetWindowAttributes( display(), rootWindow(), &attrs );
|
|
||||||
if( findConfig( buffer_db_attrs, &fbcbuffer ) && wspace->createOverlay())
|
if( findConfig( buffer_db_attrs, &fbcbuffer ) && wspace->createOverlay())
|
||||||
{ // we have overlay, try to create double-buffered window in it
|
{ // we have overlay, try to create double-buffered window in it
|
||||||
XVisualInfo* visual = glXGetVisualFromFBConfig( display(), fbcbuffer );
|
XVisualInfo* visual = glXGetVisualFromFBConfig( display(), fbcbuffer );
|
||||||
|
|
Loading…
Reference in a new issue