-/* $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
#define GLX_VERSION_1_1 1
+#define GLX_VERSION_1_2 1
#define GLX_EXTENSION_NAME "GLX"
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,