diff options
author | Ian Romanick <[email protected]> | 2004-02-19 00:57:04 +0000 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2004-02-19 00:57:04 +0000 |
commit | 304d3aa9cb727eb4cd4797c33f8e13e5ac4285a9 (patch) | |
tree | dbd971e7bfa0355e40db0ccd4efceebd2dcb68b1 /include/GL/xmesa_xf86.h | |
parent | e01370271eebb6cf86d8119c3c37b3f6f9db1d8b (diff) |
Refactored several variables out of XMesaVisual in favor of identical
fields in __GLcontextModes (the base type). Removed the need to keep
the XMesaVisualInfo pointer when building inside the X-server.
Diffstat (limited to 'include/GL/xmesa_xf86.h')
-rw-r--r-- | include/GL/xmesa_xf86.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/include/GL/xmesa_xf86.h b/include/GL/xmesa_xf86.h index 983f234ddd9..88a94dcd765 100644 --- a/include/GL/xmesa_xf86.h +++ b/include/GL/xmesa_xf86.h @@ -174,12 +174,11 @@ do { \ FreeScratchGC(__gc); \ } while (0) -#define GET_COLORMAP_SIZE(__v) __v->visinfo->ColormapEntries -#define GET_REDMASK(__v) __v->visinfo->redMask -#define GET_GREENMASK(__v) __v->visinfo->greenMask -#define GET_BLUEMASK(__v) __v->visinfo->blueMask -#define GET_VISUAL_CLASS(__v) __v->visinfo->class -#define GET_VISUAL_DEPTH(__v) __v->visinfo->nplanes +#define GET_COLORMAP_SIZE(__v) __v->ColormapEntries +#define GET_REDMASK(__v) __v->mesa_visual.redMask +#define GET_GREENMASK(__v) __v->mesa_visual.greenMask +#define GET_BLUEMASK(__v) __v->mesa_visual.blueMask +#define GET_VISUAL_DEPTH(__v) __v->nplanes #define GET_BLACK_PIXEL(__v) __v->display->blackPixel #define CHECK_BYTE_ORDER(__v) GL_TRUE #define CHECK_FOR_HPCR(__v) GL_FALSE |