summaryrefslogtreecommitdiff
path: root/GL
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2008-04-14 11:40:38 +1000
committerDave Airlie <airlied@redhat.com>2008-04-14 11:40:38 +1000
commit97565c0f394f16d042c614695c8b7b4ac354f2a3 (patch)
tree17e782d4e2f5f748f654912277ae4b025290dc63 /GL
parentc61087c82784633e522bd9392172b43656bdf45e (diff)
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
Diffstat (limited to 'GL')
-rw-r--r--GL/glx/glxglcore.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/GL/glx/glxglcore.c b/GL/glx/glxglcore.c
index 16064a96d..1eac0eb3e 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;