projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a1633c0
)
flush the pipe before accum ops
author
Brian
<brian.paul@tungstengraphics.com>
Sat, 20 Oct 2007 21:21:02 +0000
(15:21 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Sat, 20 Oct 2007 21:21:02 +0000
(15:21 -0600)
src/mesa/state_tracker/st_cb_accum.c
patch
|
blob
|
history
diff --git
a/src/mesa/state_tracker/st_cb_accum.c
b/src/mesa/state_tracker/st_cb_accum.c
index
192bdba
..
ddf9dc2
100644
(file)
--- 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) {