Fix last commit.

svn path=/trunk/KDE/kdebase/workspace/; revision=731428
This commit is contained in:
Luboš Luňák 2007-10-31 17:21:18 +00:00
parent d0ee0fa4e4
commit be0bffa238

View file

@ -113,7 +113,7 @@ bool CompositingPrefs::createGLXContext()
{
attribs.last() = GLX_DOUBLEBUFFER;
attribs << None;
visinfo = glXChooseVisual( display(), scrnum, attribs.data() );
visinfo = glXChooseVisual( display(), DefaultScreen( display()), attribs.data() );
if (!visinfo)
{
kError() << "Error: couldn't find RGB GLX visual";