Merge Jose's documentation and core Mesa changes from embedded branch
[mesa.git] / src / mesa / main / accum.c
index 1185adbfd41855392e4400401845dd456a7047aa..3ca7d27f83fe6ae8b0ff3b791493e637b61a3510 100644 (file)
@@ -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 );
+}