aboutsummaryrefslogtreecommitdiffstats
path: root/make/stub_includes/opengl/GL
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2012-09-29 03:14:30 +0200
committerSven Gothel <[email protected]>2012-09-29 03:14:30 +0200
commite0904a65bcf87ea0fd41d76cc1af7ad29daaefb5 (patch)
tree009fe4b34f9ec24c0059e4ea6294f23e7bb61bf3 /make/stub_includes/opengl/GL
parent18ae6451a5531f46f56389bd7071db1d988e80d7 (diff)
Misc X11: Add GLX_MESA_swap_control; GLXExtensions (private); X11GLXContext commented out GLX_MESA_swap_control; native test of Mesa context-retarget bug, cannot reproduce yet.
Diffstat (limited to 'make/stub_includes/opengl/GL')
-rw-r--r--make/stub_includes/opengl/GL/glxext.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/make/stub_includes/opengl/GL/glxext.h b/make/stub_includes/opengl/GL/glxext.h
index 06dbb271b..3d85521b9 100644
--- a/make/stub_includes/opengl/GL/glxext.h
+++ b/make/stub_includes/opengl/GL/glxext.h
@@ -439,6 +439,16 @@ typedef GLXContext ( * PFNGLXCREATECONTEXTATTRIBSARBPROC) (Display *dpy, GLXFBCo
#define GLX_EXT_visual_info 1
#endif
+#ifndef GLX_MESA_swap_control
+#define GLX_MESA_swap_control 1
+#ifdef GLX_GLXEXT_PROTOTYPES
+extern int glXSwapIntervalMESA(unsigned int interval);
+extern int glXGetSwapIntervalMESA(void);
+#endif /* GLX_GLXEXT_PROTOTYPES */
+typedef int ( * PFNGLXSWAPINTERVALMESAPROC)(unsigned int interval);
+typedef int ( * PFNGLXGETSWAPINTERVALMESAPROC)(void);
+#endif
+
#ifndef GLX_SGI_swap_control
#define GLX_SGI_swap_control 1
#ifdef GLX_GLXEXT_PROTOTYPES