gallium: disable unnecessary point/line/tri re-validation in vbuf_flush_indices()
authorBrian <brian.paul@tungstengraphics.com>
Sat, 26 Jan 2008 23:46:52 +0000 (16:46 -0700)
committerBrian <brian.paul@tungstengraphics.com>
Sat, 26 Jan 2008 23:46:52 +0000 (16:46 -0700)
src/mesa/pipe/draw/draw_vbuf.c

index cd0b4fbbb98db148c71bd957db6d58a5ce8c8789..aea5b4aeeef672474e803e1cb14aea0f4aa199e7 100644 (file)
@@ -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
 }