aboutsummaryrefslogtreecommitdiff
path: root/gl/glxext.h
diff options
context:
space:
mode:
authormarha <marha@users.sourceforge.net>2012-06-28 08:53:34 +0200
committermarha <marha@users.sourceforge.net>2012-06-28 08:53:34 +0200
commitcd103d3f4d59ac4f09cfcf126e572ddb0b9d4628 (patch)
treefee1848ac56ad346bb9df918903531f61f1705a1 /gl/glxext.h
parent4376eeccc64a10e2a74fd0eb4184d2a144058470 (diff)
downloadvcxsrv-cd103d3f4d59ac4f09cfcf126e572ddb0b9d4628.tar.gz
vcxsrv-cd103d3f4d59ac4f09cfcf126e572ddb0b9d4628.tar.bz2
vcxsrv-cd103d3f4d59ac4f09cfcf126e572ddb0b9d4628.zip
Synchronised files
Diffstat (limited to 'gl/glxext.h')
-rw-r--r--gl/glxext.h18
1 files changed, 13 insertions, 5 deletions
diff --git a/gl/glxext.h b/gl/glxext.h
index 3c47dc363..e640ff7e3 100644
--- a/gl/glxext.h
+++ b/gl/glxext.h
@@ -6,7 +6,7 @@ extern "C" {
#endif
/*
-** Copyright (c) 2007-2010 The Khronos Group Inc.
+** Copyright (c) 2007-2012 The Khronos Group Inc.
**
** Permission is hereby granted, free of charge, to any person obtaining a
** copy of this software and/or associated documentation files (the
@@ -48,9 +48,9 @@ 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
#ifndef GLX_VERSION_1_3
#define GLX_WINDOW_BIT 0x00000001
@@ -440,6 +440,10 @@ extern "C" {
#define GLX_CONTEXT_ES2_PROFILE_BIT_EXT 0x00000004
#endif
+#ifndef GLX_EXT_swap_control_tear
+#define GLX_LATE_SWAPS_TEAR_EXT 0x20F3
+#endif
+
/*************************************************************/
@@ -964,9 +968,9 @@ typedef void ( * PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC) (Display *dpy, GLXVideoC
#ifndef GLX_EXT_swap_control
#define GLX_EXT_swap_control 1
#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
#ifndef GLX_NV_copy_image
@@ -985,6 +989,10 @@ typedef void ( * PFNGLXCOPYIMAGESUBDATANVPROC) (Display *dpy, GLXContext srcCtx,
#define GLX_NV_multisample_coverage 1
#endif
+#ifndef GLX_EXT_swap_control_tear
+#define GLX_EXT_swap_control_tear 1
+#endif
+
#ifdef __cplusplus
}