From: Brian Paul Date: Thu, 4 May 2000 13:55:52 +0000 (+0000) Subject: conditionally include some fields in the context struct for DRI / non-DRI X-Git-Tag: 062012170305~28117 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=065607e884e26f0df38c455cab83de8398c68ff2;p=profile%2Fivi%2Fmesa.git conditionally include some fields in the context struct for DRI / non-DRI --- diff --git a/src/mesa/drivers/glide/fxdrv.h b/src/mesa/drivers/glide/fxdrv.h index 924b4a1..7997604 100644 --- a/src/mesa/drivers/glide/fxdrv.h +++ b/src/mesa/drivers/glide/fxdrv.h @@ -428,8 +428,10 @@ struct tfxMesaContext { GuTexPalette glbPalette; GLcontext *glCtx; /* the core Mesa context */ +#if !defined(XFree86Server) && !defined(GLX_DIRECT_RENDERING) GLvisual *glVis; /* describes the color buffer */ GLframebuffer *glBuffer; /* the ancillary buffers */ +#endif GLint board; /* the board used for this context */ GLint width, height; /* size of color buffer */