summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,