summaryrefslogtreecommitdiffstats
path: root/src/mesa/main
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-02-02 21:52:26 +0000
committerBrian Paul <[email protected]>2000-02-02 21:52:26 +0000
commit8427d93449b69a3f6918ad43b4d7dc3083b29b3d (patch)
tree04248e6d176708535bf5a34232b3632fa97269cb /src/mesa/main
parent8460cc9bf9e3e6f237add35c1a635f137e57c184 (diff)
changed prefix to _mesa_ for a few accum functions
Diffstat (limited to 'src/mesa/main')
-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 e6b556b0fce..b052c74d0f5 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 0f2263bd49c..a2ff4803116 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 25f3ab0ed7b..7fb368f6b86 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 );