summaryrefslogtreecommitdiff
path: root/GL/mesa
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@redhat.com>2006-03-17 01:47:25 +0000
committerKristian Høgsberg <krh@redhat.com>2006-03-17 01:47:25 +0000
commit2d2d38d17cc2558f8a41166a4a1578bc4c663c37 (patch)
treec5b89944b381b0d004cc74dfc3ed656f3763eeb4 /GL/mesa
parent2c11cde3367fcd22740b577a4364b1e41cf3e1d2 (diff)
Check for glproto when building GLX and make sure we have at least 1.4.6.
Drop glx_ansic.h wrapper and call xalloc, xrealloc, xfree and str-funcs directly.
Diffstat (limited to 'GL/mesa')
-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;
-}