diff options
author | Brian Paul <[email protected]> | 2000-05-04 13:55:52 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-05-04 13:55:52 +0000 |
commit | 065607e884e26f0df38c455cab83de8398c68ff2 (patch) | |
tree | 91e93181c28cf367bfec54f0f644ebd7fe9a8162 /src/mesa/drivers | |
parent | 0b5566a9d6eb66dc503e4551fe8824559ddde901 (diff) |
conditionally include some fields in the context struct for DRI / non-DRI
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/glide/fxdrv.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/drivers/glide/fxdrv.h b/src/mesa/drivers/glide/fxdrv.h index 924b4a16441..79976042abf 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 */ |