summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/x11
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2001-05-01 22:01:11 +0000
committerBrian Paul <[email protected]>2001-05-01 22:01:11 +0000
commit70bb9072864801a8110c4c63c6fb8fe8469e7fe6 (patch)
treedfb884fa1128753d2b62412bc8d8996c24fbf431 /src/mesa/drivers/x11
parentadcc2ce92bcb6469fcbf389fa19e41faa844e798 (diff)
minor XFree86 change
Diffstat (limited to 'src/mesa/drivers/x11')
-rw-r--r--src/mesa/drivers/x11/xmesaP.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/drivers/x11/xmesaP.h b/src/mesa/drivers/x11/xmesaP.h
index aa014d1eab7..da5261181f6 100644
--- a/src/mesa/drivers/x11/xmesaP.h
+++ b/src/mesa/drivers/x11/xmesaP.h
@@ -1,4 +1,4 @@
-/* $Id: xmesaP.h,v 1.21 2001/04/27 21:18:25 brianp Exp $ */
+/* $Id: xmesaP.h,v 1.22 2001/05/01 22:01:11 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -223,7 +223,11 @@ struct xmesa_buffer {
/* Used to do XAllocColor/XFreeColors accounting: */
int num_alloced;
+#if defined(XFree86Server)
+ Pixel alloced_colors[256];
+#else
unsigned long alloced_colors[256];
+#endif
#if defined(GLX_DIRECT_RENDERING) && !defined(XFree86Server)
__DRIdrawablePrivate *driDrawPriv; /* back pointer to DRI drawable