-/* $Id: svgamesa.h,v 1.2 1999/11/24 18:43:48 brianp Exp $ */
-
/*
* Mesa 3-D graphics library
- * Version: 3.3
- * Copyright (C) 1995-1998 Brian Paul
+ * Version: 4.0
+ * Copyright (C) 1995-2001 Brian Paul
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public
#define SVGAMESA_H
-#define SVGAMESA_MAJOR_VERSION 3
-#define SVGAMESA_MINOR_VERSION 3
+#define SVGAMESA_MAJOR_VERSION 4
+#define SVGAMESA_MINOR_VERSION 0
#ifdef __cplusplus
/*
* doubleBuffer flag new in version 2.4
*/
+extern int SVGAMesaInit( int GraphMode );
+
+extern int SVGAMesaClose( void );
+
extern SVGAMesaContext SVGAMesaCreateContext( GLboolean doubleBuffer );
extern void SVGAMesaDestroyContext( SVGAMesaContext ctx );
extern void SVGAMesaMakeCurrent( SVGAMesaContext ctx );
-extern SVGAMesaContext SVGAMesaGetCurrentContext( void );
-
extern void SVGAMesaSwapBuffers( void );
+extern void SVGAMesaSetCI(int ndx, GLubyte red, GLubyte green, GLubyte blue);
+
+extern SVGAMesaContext SVGAMesaGetCurrentContext( void );
#ifdef __cplusplus
}