swrast: Disable glAccum drawing during conditional rendering.

This commit is contained in:
Eric Anholt
2011-04-21 16:52:21 -07:00
parent fb60040b69
commit 332822bd3d
+4
View File
@@ -24,6 +24,7 @@
#include "main/glheader.h"
#include "main/condrender.h"
#include "main/context.h"
#include "main/macros.h"
#include "main/imports.h"
@@ -553,6 +554,9 @@ _swrast_Accum(struct gl_context *ctx, GLenum op, GLfloat value)
return;
}
if (!_mesa_check_conditional_render(ctx))
return;
swrast_render_start(ctx);
/* Compute region after calling swrast_render_start() so that we know the