From: Brian Date: Sat, 20 Oct 2007 21:21:02 +0000 (-0600) Subject: flush the pipe before accum ops X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=bb3d61551c8bb3fc60ca48bd2394d4ba7ba004d2;p=mesa.git flush the pipe before accum ops --- diff --git a/src/mesa/state_tracker/st_cb_accum.c b/src/mesa/state_tracker/st_cb_accum.c index 192bdbab63f..ddf9dc2adff 100644 --- a/src/mesa/state_tracker/st_cb_accum.c +++ b/src/mesa/state_tracker/st_cb_accum.c @@ -241,6 +241,9 @@ st_Accum(GLcontext *ctx, GLenum op, GLfloat value) const GLint width = ctx->DrawBuffer->_Xmax - xpos; const GLint height = ctx->DrawBuffer->_Ymax - ypos; + /* make sure color bufs aren't cached */ + pipe->flush(pipe, 0); + switch (op) { case GL_ADD: if (value != 0.0F) {