From fa647e8336767654e1f67729b7eca61fbf76ff41 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 5 Oct 2002 03:03:37 +0000 Subject: [PATCH] added XMesaCreatePBuffer() --- include/GL/xmesa.h | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/include/GL/xmesa.h b/include/GL/xmesa.h index c157eb09839..d5a08f9d5f2 100644 --- a/include/GL/xmesa.h +++ b/include/GL/xmesa.h @@ -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 -- 2.30.2