summaryrefslogtreecommitdiff
path: root/hw/xquartz/GL/glcontextmodes.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xquartz/GL/glcontextmodes.c')
-rw-r--r--hw/xquartz/GL/glcontextmodes.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/xquartz/GL/glcontextmodes.c b/hw/xquartz/GL/glcontextmodes.c
index 326c8b235..eee7103ae 100644
--- a/hw/xquartz/GL/glcontextmodes.c
+++ b/hw/xquartz/GL/glcontextmodes.c
@@ -53,14 +53,14 @@
# ifdef XFree86Server
# include <os.h>
# include <string.h>
-# define _mesa_malloc(b) xalloc(b)
-# define _mesa_free(m) xfree(m)
+# define _mesa_malloc(b) malloc(b)
+# define _mesa_free(m) free(m)
# define _mesa_memset memset
# else
# include <X11/Xlibint.h>
# define _mesa_memset memset
# define _mesa_malloc(b) Xmalloc(b)
-# define _mesa_free(m) Xfree(m)
+# define _mesa_free(m) free(m)
# endif /* XFree86Server */
#endif /* !defined(IN_MINI_GLX) */