Fix last commit.
svn path=/trunk/KDE/kdebase/workspace/; revision=731428
This commit is contained in:
parent
d0ee0fa4e4
commit
be0bffa238
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue