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
This commit is contained in:
parent
c61087c827
commit
97565c0f39
|
@ -320,6 +320,7 @@ createFBConfigsForVisual(__GLXscreen *screen, ScreenPtr pScreen,
|
||||||
config->next = xcalloc(sizeof(*config), 1);
|
config->next = xcalloc(sizeof(*config), 1);
|
||||||
config = config->next;
|
config = config->next;
|
||||||
|
|
||||||
|
config->visualRating = GLX_NONE;
|
||||||
config->visualType = glx_visual_types[visual->class];
|
config->visualType = glx_visual_types[visual->class];
|
||||||
config->xRenderable = GL_TRUE;
|
config->xRenderable = GL_TRUE;
|
||||||
config->drawableType = GLX_WINDOW_BIT | GLX_PIXMAP_BIT;
|
config->drawableType = GLX_WINDOW_BIT | GLX_PIXMAP_BIT;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user