summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2001-05-01 22:01:11 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2001-05-01 22:01:11 +0000
commit70bb9072864801a8110c4c63c6fb8fe8469e7fe6 (patch)
treedfb884fa1128753d2b62412bc8d8996c24fbf431 /src/mesa
parentadcc2ce92bcb6469fcbf389fa19e41faa844e798 (diff)
minor XFree86 change
Diffstat (limited to 'src/mesa')
-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 aa014d1eab..da5261181f 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