summaryrefslogtreecommitdiff
path: root/src/gallium/auxiliary/draw/draw_pt_so_emit.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_pt_so_emit.c')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt_so_emit.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_so_emit.c b/src/gallium/auxiliary/draw/draw_pt_so_emit.c
index b982e4c529c..8a065a378be 100644
--- a/src/gallium/auxiliary/draw/draw_pt_so_emit.c
+++ b/src/gallium/auxiliary/draw/draw_pt_so_emit.c
@@ -163,6 +163,8 @@ void draw_pt_so_emit( struct pt_so_emit *emit,
stride, ~0);
translate->run(translate, 0, vertex_count,
draw->instance_id, so_buffer);
+
+ render->set_stream_output_info(render, 0, vertex_count);
}