summaryrefslogtreecommitdiff
path: root/include/GL/glx.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>1999-11-22 21:51:53 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>1999-11-22 21:51:53 +0000
commitbf3f9bdaae9f17de8ac82ec7789e4e689a6f67f2 (patch)
tree7ea899f214965add11b7306397e40e7774c23080 /include/GL/glx.h
parent8acb3a1238f5b3c14400025f08044237838b1882 (diff)
bumped GLX version to 1.2, added glXGetCurrentDisplay()
Diffstat (limited to 'include/GL/glx.h')
-rw-r--r--include/GL/glx.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/include/GL/glx.h b/include/GL/glx.h
index 9d4c2023f8..c4a0325d77 100644
--- a/include/GL/glx.h
+++ b/include/GL/glx.h
@@ -1,4 +1,4 @@
-/* $Id: glx.h,v 1.6 1999/11/11 01:27:17 brianp Exp $ */
+/* $Id: glx.h,v 1.7 1999/11/22 21:51:53 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -49,6 +49,7 @@ extern "C" {
#define GLX_VERSION_1_1 1
+#define GLX_VERSION_1_2 1
#define GLX_EXTENSION_NAME "GLX"
@@ -197,6 +198,11 @@ extern const char *glXQueryServerString( Display *dpy, int screen, int name );
extern const char *glXGetClientString( Display *dpy, int name );
+/* GLX 1.2 and later */
+
+extern Display *glXGetCurrentDisplay( void );
+
+
/* GLX_MESA_pixmap_colormap */
extern GLXPixmap glXCreateGLXPixmapMESA( Display *dpy, XVisualInfo *visual,