Not really, although it probably doesn't matter in practice.
svn path=/trunk/KDE/kdebase/workspace/; revision=731423
This commit is contained in:
parent
c9ebc4ecb2
commit
d0ee0fa4e4
1 changed files with 1 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue