From 065607e884e26f0df38c455cab83de8398c68ff2 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 4 May 2000 13:55:52 +0000 Subject: conditionally include some fields in the context struct for DRI / non-DRI --- src/mesa/drivers/glide/fxdrv.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mesa/drivers/glide/fxdrv.h') diff --git a/src/mesa/drivers/glide/fxdrv.h b/src/mesa/drivers/glide/fxdrv.h index 924b4a1644..79976042ab 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 */ -- cgit v1.2.3