diff options
author | Ian Romanick <[email protected]> | 2004-06-06 02:20:20 +0000 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2004-06-06 02:20:20 +0000 |
commit | e1a7f31c2b47e053ad70f5c4c519e294c273724c (patch) | |
tree | 1c1d8402b36cd18019409291fad75c0ebd78ced1 /include | |
parent | 75046c5e594173c331e5978f2c856be7d8efd0ad (diff) |
Remove the rest of the need for glxclient.h and remove it from the tree.
Diffstat (limited to 'include')
-rw-r--r-- | include/GL/internal/glcore.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/GL/internal/glcore.h b/include/GL/internal/glcore.h index 7080b7ce74e..48748d91e8f 100644 --- a/include/GL/internal/glcore.h +++ b/include/GL/internal/glcore.h @@ -139,6 +139,33 @@ typedef struct __GLcontextModesRec { GLint screen; } __GLcontextModes; +/* Several fields of __GLcontextModes can take these as values. Since + * GLX header files may not be available everywhere they need to be used, + * redefine them here. + */ +#define GLX_NONE 0x8000 +#define GLX_SLOW_CONFIG 0x8001 +#define GLX_TRUE_COLOR 0x8002 +#define GLX_DIRECT_COLOR 0x8003 +#define GLX_PSEUDO_COLOR 0x8004 +#define GLX_STATIC_COLOR 0x8005 +#define GLX_GRAY_SCALE 0x8006 +#define GLX_STATIC_GRAY 0x8007 +#define GLX_TRANSPARENT_RGB 0x8008 +#define GLX_TRANSPARENT_INDEX 0x8009 +#define GLX_NON_CONFORMANT_CONFIG 0x800D +#define GLX_SWAP_EXCHANGE_OML 0x8061 +#define GLX_SWAP_COPY_OML 0x8062 +#define GLX_SWAP_UNDEFINED_OML 0x8063 + +#define GLX_DONT_CARE 0xFFFFFFFF + +#define GLX_RGBA_BIT 0x00000001 +#define GLX_COLOR_INDEX_BIT 0x00000002 +#define GLX_WINDOW_BIT 0x00000001 +#define GLX_PIXMAP_BIT 0x00000002 +#define GLX_PBUFFER_BIT 0x00000004 + /************************************************************************/ /* |