added XMesaCreatePBuffer()
authorBrian Paul <brian.paul@tungstengraphics.com>
Sat, 5 Oct 2002 03:03:37 +0000 (03:03 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 5 Oct 2002 03:03:37 +0000 (03:03 +0000)
include/GL/xmesa.h

index c157eb0..d5a08f9 100644 (file)
@@ -1,8 +1,8 @@
-/* $Id: xmesa.h,v 1.13 2002/03/16 00:53:48 brianp Exp $ */
+/* $Id: xmesa.h,v 1.14 2002/10/05 03:03:37 brianp Exp $ */
 
 /*
  * Mesa 3-D graphics library
- * Version:  4.0.2
+ * Version:  4.1
  * 
  * Copyright (C) 1999-2002  Brian Paul   All Rights Reserved.
  * 
@@ -90,7 +90,7 @@ extern struct Library *XLibBase;
 
 
 #define XMESA_MAJOR_VERSION 4
-#define XMESA_MINOR_VERSION 0
+#define XMESA_MINOR_VERSION 1
 
 
 
@@ -374,6 +374,16 @@ extern GLboolean XMesaSetFXmode( GLint mode );
 extern void XMesaResizeBuffers( XMesaBuffer b );
 
 
+
+/*
+ * Create a pbuffer.
+ * New in Mesa 4.1
+ */
+extern XMesaBuffer XMesaCreatePBuffer(XMesaVisual v, XMesaColormap cmap,
+                                      unsigned int width, unsigned int height);
+
+
+
 #ifdef __cplusplus
 }
 #endif