summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/GL/glx.h41
1 files changed, 22 insertions, 19 deletions
diff --git a/include/GL/glx.h b/include/GL/glx.h
index 5af05ed170..c2ae5d35b9 100644
--- a/include/GL/glx.h
+++ b/include/GL/glx.h
@@ -1,4 +1,4 @@
-/* $Id: glx.h,v 1.21 2000/06/08 22:50:24 brianp Exp $ */
+/* $Id: glx.h,v 1.22 2000/06/23 17:39:18 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -367,19 +367,20 @@ extern int glXQueryContextInfoEXT(Display *dpy, GLXContext context,
/*
- * ARB 2. GLX_ARB_get_proc_address
+ * 215. GLX_MESA_copy_sub_buffer
*/
-#ifndef GLX_ARB_get_proc_address
-#define GLX_ARB_get_proc_address 1
+#ifndef GLX_MESA_copy_sub_buffer
+#define GLX_MESA_copy_sub_buffer 1
-extern void (*glXGetProcAddressARB(const GLubyte *procName))();
+extern void glXCopySubBufferMESA( Display *dpy, GLXDrawable drawable,
+ int x, int y, int width, int height );
-#endif /* GLX_ARB_get_proc_address */
+#endif
/*
- * GLX_MESA_pixmap_colormap
+ * 216. GLX_MESA_pixmap_colormap
*/
#ifndef GLX_MESA_pixmap_colormap
#define GLX_MESA_pixmap_colormap 1
@@ -392,7 +393,7 @@ extern GLXPixmap glXCreateGLXPixmapMESA( Display *dpy, XVisualInfo *visual,
/*
- * GLX_MESA_release_buffers
+ * 217. GLX_MESA_release_buffers
*/
#ifndef GLX_MESA_release_buffers
#define GLX_MESA_release_buffers 1
@@ -404,27 +405,29 @@ extern Bool glXReleaseBuffersMESA( Display *dpy, GLXDrawable d );
/*
- * GLX_MESA_copy_sub_buffer
+ * 218. GLX_MESA_set_3dfx_mode
*/
-#ifndef GLX_MESA_copy_sub_buffer
-#define GLX_MESA_copy_sub_buffer 1
+#ifndef GLX_MESA_set_3dfx_mode
+#define GLX_MESA_set_3dfx_mode 1
-extern void glXCopySubBufferMESA( Display *dpy, GLXDrawable drawable,
- int x, int y, int width, int height );
+#define GLX_3DFX_WINDOW_MODE_MESA 0x1
+#define GLX_3DFX_FULLSCREEN_MODE_MESA 0x2
-#endif
+extern GLboolean glXSet3DfxModeMESA( GLint mode );
+
+#endif /* GLX_MESA_set_3dfx_mode */
/*
- * GLX_MESA_set_3dfx_mode
+ * ARB 2. GLX_ARB_get_proc_address
*/
-#ifndef GLX_MESA_set_3dfx_mode
-#define GLX_MESA_set_3dfx_mode 1
+#ifndef GLX_ARB_get_proc_address
+#define GLX_ARB_get_proc_address 1
-extern GLboolean glXSet3DfxModeMESA( GLint mode );
+extern void (*glXGetProcAddressARB(const GLubyte *procName))();
-#endif /* GLX_MESA_set_3dfx_mode */
+#endif /* GLX_ARB_get_proc_address */