xserver: Branch 'master'

Dave Airlie airlied at kemper.freedesktop.org
Sun Apr 13 18:48:20 PDT 2008


 GL/glx/glxglcore.c |    1 +
 1 file changed, 1 insertion(+)

New commits:
commit 97565c0f394f16d042c614695c8b7b4ac354f2a3
Author: Dave Airlie <airlied at redhat.com>
Date:   Mon Apr 14 11:40:38 2008 +1000

    glcore: make visualRating GLX_NONE - note GLX_NONE is not == 0
    
    Finally glxinfo returns the set of 3 visuals and glxgears works again for me on
    sw rendering

diff --git a/GL/glx/glxglcore.c b/GL/glx/glxglcore.c
index 16064a9..1eac0eb 100644
--- a/GL/glx/glxglcore.c
+++ b/GL/glx/glxglcore.c
@@ -320,6 +320,7 @@ createFBConfigsForVisual(__GLXscreen *screen, ScreenPtr pScreen,
 		config->next = xcalloc(sizeof(*config), 1);
 		config = config->next;
 
+		config->visualRating = GLX_NONE;
 		config->visualType = glx_visual_types[visual->class];
 		config->xRenderable = GL_TRUE;
 		config->drawableType = GLX_WINDOW_BIT | GLX_PIXMAP_BIT;


More information about the xorg-commit mailing list