summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r600/r600_state_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_state_common.c b/src/gallium/drivers/r600/r600_state_common.c
index 00e1bd0cf12..a2ea42f9c5f 100644
--- a/src/gallium/drivers/r600/r600_state_common.c
+++ b/src/gallium/drivers/r600/r600_state_common.c
@@ -644,7 +644,7 @@ void r600_set_so_targets(struct pipe_context *ctx,
unsigned i;
/* Stop streamout. */
- if (rctx->num_so_targets) {
+ if (rctx->num_so_targets && !rctx->streamout_start) {
r600_context_streamout_end(rctx);
}