Not really, although it probably doesn't matter in practice.

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

View file

@ -108,8 +108,7 @@ bool CompositingPrefs::createGLXContext()
attribs << GLX_BLUE_SIZE << 1;
attribs << None;
int scrnum = 0; // correct?
XVisualInfo* visinfo = glXChooseVisual( display(), scrnum, attribs.data() );
XVisualInfo* visinfo = glXChooseVisual( display(), DefaultScreen( display()), attribs.data() );
if( !visinfo )
{
attribs.last() = GLX_DOUBLEBUFFER;