summaryrefslogtreecommitdiff
path: root/GL/mesa/X/xf86glx.c
diff options
context:
space:
mode:
Diffstat (limited to 'GL/mesa/X/xf86glx.c')
-rw-r--r--GL/mesa/X/xf86glx.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/GL/mesa/X/xf86glx.c b/GL/mesa/X/xf86glx.c
index 0444acc80..abecb3d2a 100644
--- a/GL/mesa/X/xf86glx.c
+++ b/GL/mesa/X/xf86glx.c
@@ -400,7 +400,7 @@ static void init_screen_visuals(__GLXMESAscreen *screen)
i++;
}
- __glXFree(used);
+ xfree(used);
screen->xm_vis = pXMesaVisual;
}
@@ -440,9 +440,3 @@ GlxGetMesaProvider (void)
{
return &__glXMesaProvider;
}
-
-__GLXprovider *
-GlxGetMesaProvider (void)
-{
- return &__glXMesaProvider;
-}