summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-05-04 13:55:52 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-05-04 13:55:52 +0000
commit065607e884e26f0df38c455cab83de8398c68ff2 (patch)
tree91e93181c28cf367bfec54f0f644ebd7fe9a8162
parent0b5566a9d6eb66dc503e4551fe8824559ddde901 (diff)
conditionally include some fields in the context struct for DRI / non-DRI
-rw-r--r--src/mesa/drivers/glide/fxdrv.h2
1 files changed, 2 insertions, 0 deletions
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 */