diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2000-04-11 21:26:57 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2000-04-11 21:26:57 +0000 |
commit | 716be936866dcb4cd51e774e5403e28645d5c685 (patch) | |
tree | f84fb48abe62363618b22f16fd2dea7aebb6a5c3 /src/mesa/main/buffers.c | |
parent | 67c01f5f67cf93dc882cbe5b783acad9f8fc338f (diff) | |
download | external_mesa3d-716be936866dcb4cd51e774e5403e28645d5c685.zip external_mesa3d-716be936866dcb4cd51e774e5403e28645d5c685.tar.gz external_mesa3d-716be936866dcb4cd51e774e5403e28645d5c685.tar.bz2 |
renamed stencil functions
Diffstat (limited to 'src/mesa/main/buffers.c')
-rw-r--r-- | src/mesa/main/buffers.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c index 9e83627..cd40b52 100644 --- a/src/mesa/main/buffers.c +++ b/src/mesa/main/buffers.c @@ -1,4 +1,4 @@ -/* $Id: buffers.c,v 1.4 2000/04/05 14:40:04 brianp Exp $ */ +/* $Id: buffers.c,v 1.5 2000/04/11 21:26:57 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -291,10 +291,10 @@ _mesa_Clear( GLbitfield mask ) /* do software clearing here */ if (newMask) { - if (newMask & ctx->Color.DrawDestMask) clear_color_buffers( ctx ); - if (newMask & GL_DEPTH_BUFFER_BIT) _mesa_clear_depth_buffer( ctx ); - if (newMask & GL_ACCUM_BUFFER_BIT) _mesa_clear_accum_buffer( ctx ); - if (newMask & GL_STENCIL_BUFFER_BIT) gl_clear_stencil_buffer( ctx ); + if (newMask & ctx->Color.DrawDestMask) clear_color_buffers(ctx); + if (newMask & GL_DEPTH_BUFFER_BIT) _mesa_clear_depth_buffer(ctx); + if (newMask & GL_ACCUM_BUFFER_BIT) _mesa_clear_accum_buffer(ctx); + if (newMask & GL_STENCIL_BUFFER_BIT) _mesa_clear_stencil_buffer(ctx); } /* clear software-based alpha buffer(s) */ @@ -553,7 +553,7 @@ _mesa_ResizeBuffersMESA( void ) _mesa_alloc_depth_buffer( ctx ); } if (ctx->DrawBuffer->UseSoftwareStencilBuffer) { - gl_alloc_stencil_buffer( ctx ); + _mesa_alloc_stencil_buffer( ctx ); } if (ctx->DrawBuffer->UseSoftwareAccumBuffer) { _mesa_alloc_accum_buffer( ctx ); |