summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/main/accum.c8
-rw-r--r--src/mesa/main/accum.h11
-rw-r--r--src/mesa/main/buffers.c6
3 files changed, 13 insertions, 12 deletions
diff --git a/src/mesa/main/accum.c b/src/mesa/main/accum.c
index e6b556b0fc..b052c74d0f 100644
--- a/src/mesa/main/accum.c
+++ b/src/mesa/main/accum.c
@@ -1,4 +1,4 @@
-/* $Id: accum.c,v 1.14 2000/02/02 19:17:57 brianp Exp $ */
+/* $Id: accum.c,v 1.15 2000/02/02 21:52:26 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -67,7 +67,8 @@
-void gl_alloc_accum_buffer( GLcontext *ctx )
+void
+_mesa_alloc_accum_buffer( GLcontext *ctx )
{
GLint n;
@@ -420,7 +421,8 @@ _mesa_Accum( GLenum op, GLfloat value )
/*
* Clear the accumulation Buffer.
*/
-void gl_clear_accum_buffer( GLcontext *ctx )
+void
+_mesa_clear_accum_buffer( GLcontext *ctx )
{
GLuint buffersize;
GLfloat acc_scale;
diff --git a/src/mesa/main/accum.h b/src/mesa/main/accum.h
index 0f2263bd49..a2ff480311 100644
--- a/src/mesa/main/accum.h
+++ b/src/mesa/main/accum.h
@@ -1,4 +1,4 @@
-/* $Id: accum.h,v 1.2 1999/11/11 01:22:25 brianp Exp $ */
+/* $Id: accum.h,v 1.3 2000/02/02 21:52:26 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -25,9 +25,6 @@
*/
-
-
-
#ifndef ACCUM_H
#define ACCUM_H
@@ -35,10 +32,12 @@
#include "types.h"
-extern void gl_alloc_accum_buffer( GLcontext *ctx );
+extern void
+_mesa_alloc_accum_buffer( GLcontext *ctx );
-extern void gl_clear_accum_buffer( GLcontext *ctx );
+extern void
+_mesa_clear_accum_buffer( GLcontext *ctx );
extern void
diff --git a/src/mesa/main/buffers.c b/src/mesa/main/buffers.c
index 25f3ab0ed7..7fb368f6b8 100644
--- a/src/mesa/main/buffers.c
+++ b/src/mesa/main/buffers.c
@@ -1,4 +1,4 @@
-/* $Id: buffers.c,v 1.1 2000/02/02 19:15:03 brianp Exp $ */
+/* $Id: buffers.c,v 1.2 2000/02/02 21:52:26 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -293,7 +293,7 @@ _mesa_Clear( GLbitfield mask )
if (newMask) {
if (newMask & ctx->Color.DrawDestMask) clear_color_buffers( ctx );
if (newMask & GL_DEPTH_BUFFER_BIT) gl_clear_depth_buffer( ctx );
- if (newMask & GL_ACCUM_BUFFER_BIT) gl_clear_accum_buffer( ctx );
+ if (newMask & GL_ACCUM_BUFFER_BIT) _mesa_clear_accum_buffer( ctx );
if (newMask & GL_STENCIL_BUFFER_BIT) gl_clear_stencil_buffer( ctx );
}
@@ -556,7 +556,7 @@ _mesa_ResizeBuffersMESA( void )
gl_alloc_stencil_buffer( ctx );
}
if (ctx->DrawBuffer->UseSoftwareAccumBuffer) {
- gl_alloc_accum_buffer( ctx );
+ _mesa_alloc_accum_buffer( ctx );
}
if (ctx->Visual->SoftwareAlpha) {
gl_alloc_alpha_buffers( ctx );