summaryrefslogtreecommitdiff
path: root/hw/dmx/glxProxy/glxvisuals.c
diff options
context:
space:
mode:
Diffstat (limited to 'hw/dmx/glxProxy/glxvisuals.c')
-rw-r--r--hw/dmx/glxProxy/glxvisuals.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/hw/dmx/glxProxy/glxvisuals.c b/hw/dmx/glxProxy/glxvisuals.c
index b961dfaef..c8b1eea31 100644
--- a/hw/dmx/glxProxy/glxvisuals.c
+++ b/hw/dmx/glxProxy/glxvisuals.c
@@ -38,6 +38,12 @@
#include "glxutil.h"
#include "dmx_glxvisuals.h"
+#undef Xmalloc
+#undef Xcalloc
+#undef Xrealloc
+#undef Xfree
+
+
static int numConfigs = 0;
static __GLXvisualConfig *visualConfigs = NULL;
static void **visualPrivates = NULL;