summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/mesa/pipe/draw/draw_vbuf.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/pipe/draw/draw_vbuf.c b/src/mesa/pipe/draw/draw_vbuf.c
index cd0b4fbbb9..aea5b4aeee 100644
--- a/src/mesa/pipe/draw/draw_vbuf.c
+++ b/src/mesa/pipe/draw/draw_vbuf.c
@@ -331,9 +331,12 @@ vbuf_flush_indices( struct draw_stage *stage )
vbuf->nr_indices = 0;
+ /* don't need to reset point/line/tri functions */
+#if 0
stage->point = vbuf_first_point;
stage->line = vbuf_first_line;
stage->tri = vbuf_first_tri;
+#endif
}