From: Brian Paul Date: Tue, 1 May 2001 22:01:11 +0000 (+0000) Subject: minor XFree86 change X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=70bb9072864801a8110c4c63c6fb8fe8469e7fe6;p=mesa.git minor XFree86 change --- 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