diff options
Diffstat (limited to 'src/mesa/main/accum.c')
-rw-r--r-- | src/mesa/main/accum.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/main/accum.c b/src/mesa/main/accum.c index 1185adbfd41..3ca7d27f83f 100644 --- a/src/mesa/main/accum.c +++ b/src/mesa/main/accum.c @@ -85,3 +85,10 @@ _mesa_Accum( GLenum op, GLfloat value ) ctx->Driver.Accum( ctx, op, value, xpos, ypos, width, height ); } + +void +_mesa_init_accum( GLcontext *ctx ) +{ + /* Accumulate buffer group */ + ASSIGN_4V( ctx->Accum.ClearColor, 0.0, 0.0, 0.0, 0.0 ); +} |