summaryrefslogtreecommitdiffstats
path: root/src/mesa/main/accum.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2000-03-31 01:04:52 +0000
committerBrian Paul <[email protected]>2000-03-31 01:04:52 +0000
commitf2123080b51f4a242bf1d73a8e566b9abb202897 (patch)
tree90033480842b16c08ac9b195afdbd6bf7ccaa6c3 /src/mesa/main/accum.c
parenta5724069f146e840795f1884e7230ff3882bcdb6 (diff)
separate R/G/B/A accum buffer size fields
Diffstat (limited to 'src/mesa/main/accum.c')
-rw-r--r--src/mesa/main/accum.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/accum.c b/src/mesa/main/accum.c
index ee32c92206a..17e37f08e35 100644
--- a/src/mesa/main/accum.c
+++ b/src/mesa/main/accum.c
@@ -1,4 +1,4 @@
-/* $Id: accum.c,v 1.17 2000/03/19 01:10:11 brianp Exp $ */
+/* $Id: accum.c,v 1.18 2000/03/31 01:04:52 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -145,7 +145,7 @@ _mesa_Accum( GLenum op, GLfloat value )
ASSERT_OUTSIDE_BEGIN_END_AND_FLUSH(ctx, "glAccum");
- if (ctx->Visual->AccumBits == 0 || ctx->DrawBuffer != ctx->ReadBuffer) {
+ if (ctx->Visual->AccumRedBits == 0 || ctx->DrawBuffer != ctx->ReadBuffer) {
gl_error(ctx, GL_INVALID_OPERATION, "glAccum");
return;
}
@@ -427,7 +427,7 @@ _mesa_clear_accum_buffer( GLcontext *ctx )
GLuint buffersize;
GLfloat acc_scale;
- if (ctx->Visual->AccumBits==0) {
+ if (ctx->Visual->AccumRedBits==0) {
/* No accumulation buffer! */
return;
}