From e0904a65bcf87ea0fd41d76cc1af7ad29daaefb5 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 29 Sep 2012 03:14:30 +0200 Subject: 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. --- make/stub_includes/opengl/GL/glxext.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'make') 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 -- cgit v1.2.3