diff options
author | Brian Paul <brianp@vmware.com> | 2012-06-26 14:47:19 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2012-06-27 07:50:57 -0600 |
commit | 52dd8961eb02a1a76a8ba658fb8ef2777fee569c (patch) | |
tree | 75d9b02d837f60d75d50a174bd56f7838a2e6241 | |
parent | 8459f4a63aec97847b0e3957ffb82beff94035fa (diff) |
mesa: update glxext.h to version 33
-rw-r--r-- | include/GL/glxext.h | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/include/GL/glxext.h b/include/GL/glxext.h index 3c47dc363e0..e640ff7e397 100644 --- a/include/GL/glxext.h +++ b/include/GL/glxext.h @@ -8,3 +8,3 @@ extern "C" { /* -** Copyright (c) 2007-2010 The Khronos Group Inc. +** Copyright (c) 2007-2012 The Khronos Group Inc. ** @@ -50,5 +50,5 @@ extern "C" { /* Header file version number, required by OpenGL ABI for Linux */ -/* glxext.h last updated 2010/08/06 */ +/* glxext.h last updated 2012/02/29 */ /* Current version at http://www.opengl.org/registry/ */ -#define GLX_GLXEXT_VERSION 32 +#define GLX_GLXEXT_VERSION 33 @@ -442,2 +442,6 @@ extern "C" { +#ifndef GLX_EXT_swap_control_tear +#define GLX_LATE_SWAPS_TEAR_EXT 0x20F3 +#endif + @@ -966,5 +970,5 @@ typedef void ( * PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC) (Display *dpy, GLXVideoC #ifdef GLX_GLXEXT_PROTOTYPES -extern int glXSwapIntervalEXT (Display *dpy, GLXDrawable drawable, int interval); +extern void glXSwapIntervalEXT (Display *dpy, GLXDrawable drawable, int interval); #endif /* GLX_GLXEXT_PROTOTYPES */ -typedef int ( * PFNGLXSWAPINTERVALEXTPROC) (Display *dpy, GLXDrawable drawable, int interval); +typedef void ( * PFNGLXSWAPINTERVALEXTPROC) (Display *dpy, GLXDrawable drawable, int interval); #endif @@ -987,2 +991,6 @@ typedef void ( * PFNGLXCOPYIMAGESUBDATANVPROC) (Display *dpy, GLXContext srcCtx, +#ifndef GLX_EXT_swap_control_tear +#define GLX_EXT_swap_control_tear 1 +#endif + |