Module: wine Branch: master Commit: 35f58e92ddb19b46763d946f3c9d176e0d840ad0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=35f58e92ddb19b46763d946f3c...
Author: Roderick Colenbrander thunderbird2k@gmx.net Date: Sat Oct 25 20:36:52 2008 +0000
Opengl32: Add defines for WGL_/GLX_ARB_create_context.
---
include/wine/wgl.h | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/include/wine/wgl.h b/include/wine/wgl.h index 8de19f8..7a2e77e 100644 --- a/include/wine/wgl.h +++ b/include/wine/wgl.h @@ -182,6 +182,22 @@ # define GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x20B2 #endif
+/** WGL_ARB_create_context */ +#define WGL_CONTEXT_DEBUG_BIT_ARB 0x0001 +#define WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x0002 +#define WGL_CONTEXT_MAJOR_VERSION_ARB 0x2091 +#define WGL_CONTEXT_MINOR_VERSION_ARB 0x2092 +#define WGL_CONTEXT_LAYER_PLANE_ARB 0x2093 +#define WGL_CONTEXT_FLAGS_ARB 0x2094 +#define ERROR_INVALID_VERSION_ARB 0x2095 +#ifndef GLX_ARB_create_context +#define GLX_CONTEXT_DEBUG_BIT_ARB 0x00000001 +#define GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB 0x00000002 +#define GLX_CONTEXT_MAJOR_VERSION_ARB 0x2091 +#define GLX_CONTEXT_MINOR_VERSION_ARB 0x2092 +#define GLX_CONTEXT_FLAGS_ARB 0x2094 +#endif + /** * WGL_ATI_pixel_format_float / WGL_ARB_color_buffer_float */