diff options
Diffstat (limited to 'xc/extras/Mesa/src/X/xmesaP.h')
-rw-r--r-- | xc/extras/Mesa/src/X/xmesaP.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/xc/extras/Mesa/src/X/xmesaP.h b/xc/extras/Mesa/src/X/xmesaP.h index 4d7718c53..6fd339c53 100644 --- a/xc/extras/Mesa/src/X/xmesaP.h +++ b/xc/extras/Mesa/src/X/xmesaP.h @@ -226,7 +226,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 |