[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    branches/KDE/3.5/kdebase
From:       Luboš Luňák <l.lunak () kde ! org>
Date:       2006-10-13 15:19:31
Message-ID: 1160752771.939845.12184.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 595223 by lunakl:

GLX_DEPTH_SIZE = size of the depth buffer (Z buffer)
GLX_BUFFER_SIZE = size of the color buffer (color depth)
BUG: 73813



 M  +1 -1      kcontrol/screensaver/kswidget.cpp  
 M  +1 -1      kdesktop/lock/lockprocess.cc  


--- branches/KDE/3.5/kdebase/kcontrol/screensaver/kswidget.cpp #595222:595223
@@ -18,7 +18,7 @@
     int flags = 0;
     if( true /*mOpenGLVisual*/ )
     {
-        int attribs[] = { GLX_RGBA, GLX_DOUBLEBUFFER, GLX_DEPTH_SIZE, x11Depth(), None };
+        int attribs[] = { GLX_RGBA, GLX_DOUBLEBUFFER, GLX_BUFFER_SIZE, x11Depth(), None };
         if( XVisualInfo* i = glXChooseVisual( x11Display(), x11Screen(), attribs ))
         {
             visual = i->visual;
--- branches/KDE/3.5/kdebase/kdesktop/lock/lockprocess.cc #595222:595223
@@ -419,7 +419,7 @@
 #ifdef HAVE_GLXCHOOSEVISUAL
     if( mOpenGLVisual )
     {
-        int attribs[] = { GLX_RGBA, GLX_DOUBLEBUFFER, GLX_DEPTH_SIZE, x11Depth(), None };
+        int attribs[] = { GLX_RGBA, GLX_DOUBLEBUFFER, GLX_BUFFER_SIZE, x11Depth(), None };
         if( XVisualInfo* i = glXChooseVisual( x11Display(), x11Screen(), attribs ))
         {
             visual = i->visual;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic