summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2007-10-20 15:21:02 -0600
committerBrian <brian.paul@tungstengraphics.com>2007-10-20 15:21:02 -0600
commitbb3d61551c8bb3fc60ca48bd2394d4ba7ba004d2 (patch)
treee4f978d25cfe55b50319de9cd90d8fed2f07ef88 /src
parenta1633c07164e8bc9630f1fa77769e7ceee585a59 (diff)
flush the pipe before accum ops
Diffstat (limited to 'src')
-rw-r--r--src/mesa/state_tracker/st_cb_accum.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_accum.c b/src/mesa/state_tracker/st_cb_accum.c
index 192bdbab63..ddf9dc2adf 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) {