[PATCH] Add defines for WGL_/GLX_ARB_create_context.

Roderick Colenbrander thunderbird2k at gmx.net
Sat Oct 25 15:36:52 CDT 2008


---
 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
  */
-- 
1.5.3.4


--========GMX253191225060699980797--



More information about the wine-patches mailing list