dri2: Unbreak glcore visual setup.

This commit is contained in:
Kristian Høgsberg 2008-04-02 12:38:36 -04:00
parent b31de6a590
commit b13ab15689

View File

@ -308,10 +308,9 @@ static const int glx_visual_types[] = {
static __GLXconfig *
createFBConfigsForVisual(__GLXscreen *screen, ScreenPtr pScreen,
VisualPtr visual, __GLXconfig *tail)
VisualPtr visual, __GLXconfig *config)
{
int back, depth, stencil;
__GLXconfig *config;
/* FIXME: Ok, I'm making all this up... anybody has a better idea? */
@ -347,7 +346,7 @@ createFBConfigsForVisual(__GLXscreen *screen, ScreenPtr pScreen,
config->indexBits = config->colorIndexMode ? visual->nplanes : 0;
}
return tail;
return config;
}
static void