aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/mesa/main/accum.c
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/mesa/main/accum.c')
-rw-r--r--mesalib/src/mesa/main/accum.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mesalib/src/mesa/main/accum.c b/mesalib/src/mesa/main/accum.c
index 6a83930a1..d7ed3a849 100644
--- a/mesalib/src/mesa/main/accum.c
+++ b/mesalib/src/mesa/main/accum.c
@@ -97,6 +97,9 @@ _mesa_Accum( GLenum op, GLfloat value )
return;
}
+ if (ctx->TransformFeedback.RasterDiscard)
+ return;
+
if (ctx->RenderMode == GL_RENDER) {
ctx->Driver.Accum(ctx, op, value);
}