mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-06 02:20:11 +01:00
flush the pipe before accum ops
This commit is contained in:
parent
a1633c0716
commit
bb3d61551c
1 changed files with 3 additions and 0 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue