summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian.paul@tungstengraphics.com>2008-01-26 16:46:52 -0700
committerBrian <brian.paul@tungstengraphics.com>2008-01-26 16:46:52 -0700
commit651e8e9a73b4f0c3424a78b978f710d098f47ae2 (patch)
tree7309bf542d5b78e4bfb08e34e1f989836954c6dd
parentb717de3238a028a3fdfbaf13eb02dbde262f03e7 (diff)
gallium: disable unnecessary point/line/tri re-validation in vbuf_flush_indices()
-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
}