From be0bffa2385d8579a22820e532f1caa226e50176 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubo=C5=A1=20Lu=C5=88=C3=A1k?= Date: Wed, 31 Oct 2007 17:21:18 +0000 Subject: [PATCH] Fix last commit. svn path=/trunk/KDE/kdebase/workspace/; revision=731428 --- compositingprefs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compositingprefs.cpp b/compositingprefs.cpp index 8c87ad4792..fa365e673c 100644 --- a/compositingprefs.cpp +++ b/compositingprefs.cpp @@ -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";