added XMesaCreateVisual2()
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 31 Mar 2000 01:04:07 +0000 (01:04 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 31 Mar 2000 01:04:07 +0000 (01:04 +0000)
include/GL/xmesa.h

index 57d1efe549dc32ac4a309fb25c507af08b8c707a..59c4a8636b6d21c243d5b8006cd918271a73862d 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: xmesa.h,v 1.5 2000/02/25 20:30:23 brianp Exp $ */
+/* $Id: xmesa.h,v 1.6 2000/03/31 01:04:07 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
@@ -160,6 +160,23 @@ extern XMesaVisual XMesaCreateVisual( XMesaDisplay *display,
                                      GLint accum_size,
                                      GLint level );
 
+extern XMesaVisual XMesaCreateVisual2( XMesaDisplay *display,
+                                       XMesaVisualInfo visinfo,
+                                       GLboolean rgb_flag,
+                                       GLboolean alpha_flag,
+                                       GLboolean db_flag,
+                                       GLboolean stereo_flag,
+                                       GLboolean ximage_flag,
+                                       GLint depth_size,
+                                       GLint stencil_size,
+                                       GLint accum_red_size,
+                                       GLint accum_green_size,
+                                       GLint accum_blue_size,
+                                       GLint accum_alpha_size,
+                                       GLint num_samples,
+                                       GLint level,
+                                       GLint visualCaveat );
+
 /*
  * Destroy an XMesaVisual, but not the associated XVisualInfo.
  */