conditionally include some fields in the context struct for DRI / non-DRI
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 4 May 2000 13:55:52 +0000 (13:55 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 4 May 2000 13:55:52 +0000 (13:55 +0000)
src/mesa/drivers/glide/fxdrv.h

index 924b4a1..7997604 100644 (file)
@@ -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 */