From 70bb9072864801a8110c4c63c6fb8fe8469e7fe6 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 1 May 2001 22:01:11 +0000 Subject: [PATCH] minor XFree86 change --- src/mesa/drivers/x11/xmesaP.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/mesa/drivers/x11/xmesaP.h b/src/mesa/drivers/x11/xmesaP.h index aa014d1..da52611 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 -- 2.7.4