diff options
author | Brian Paul <[email protected]> | 2000-03-31 01:05:51 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2000-03-31 01:05:51 +0000 |
commit | b371e0da2b51da7d941de557b62434aaaca5be02 (patch) | |
tree | 27cde542cb4fa8181a1144c68e101d115f738522 /src/mesa/main/context.h | |
parent | f2123080b51f4a242bf1d73a8e566b9abb202897 (diff) |
added _mesa_create/destroy_visual()
Diffstat (limited to 'src/mesa/main/context.h')
-rw-r--r-- | src/mesa/main/context.h | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/src/mesa/main/context.h b/src/mesa/main/context.h index b9cc69bc69d..8e691445f10 100644 --- a/src/mesa/main/context.h +++ b/src/mesa/main/context.h @@ -1,4 +1,4 @@ -/* $Id: context.h,v 1.14 2000/03/19 01:10:11 brianp Exp $ */ +/* $Id: context.h,v 1.15 2000/03/31 01:05:51 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -57,6 +57,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, @@ -70,7 +89,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 ); /* |