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 cd0b4fb..aea5b4a 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
 }