summaryrefslogtreecommitdiff
path: root/xc/extras/Mesa/src/context.h
diff options
context:
space:
mode:
Diffstat (limited to 'xc/extras/Mesa/src/context.h')
-rw-r--r--xc/extras/Mesa/src/context.h25
1 files changed, 24 insertions, 1 deletions
diff --git a/xc/extras/Mesa/src/context.h b/xc/extras/Mesa/src/context.h
index 1f0b0d063..da5ad0d72 100644
--- a/xc/extras/Mesa/src/context.h
+++ b/xc/extras/Mesa/src/context.h
@@ -56,6 +56,25 @@
* the colorbuffer, depth buffer, stencil buffer and accum buffer which will
* be used by the GL context and framebuffer.
*/
+extern GLvisual *
+_mesa_create_visual( GLboolean rgbFlag,
+ GLboolean alphaFlag,
+ GLboolean dbFlag,
+ GLboolean stereoFlag,
+ GLint redBits,
+ GLint greenBits,
+ GLint blueBits,
+ GLint alphaBits,
+ GLint indexBits,
+ GLint depthBits,
+ GLint stencilBits,
+ GLint accumRedBits,
+ GLint accumGreenBits,
+ GLint accumBlueBits,
+ GLint accumAlphaBits,
+ GLint numSamples );
+
+/* this function is obsolete */
extern GLvisual *gl_create_visual( GLboolean rgbFlag,
GLboolean alphaFlag,
GLboolean dbFlag,
@@ -69,7 +88,11 @@ extern GLvisual *gl_create_visual( GLboolean rgbFlag,
GLint blueBits,
GLint alphaBits );
-extern void gl_destroy_visual( GLvisual *vis );
+
+extern void
+_mesa_destroy_visual( GLvisual *vis );
+
+/*obsolete */ extern void gl_destroy_visual( GLvisual *vis );
/*