From 651e8e9a73b4f0c3424a78b978f710d098f47ae2 Mon Sep 17 00:00:00 2001 From: Brian Date: Sat, 26 Jan 2008 16:46:52 -0700 Subject: gallium: disable unnecessary point/line/tri re-validation in vbuf_flush_indices() --- src/mesa/pipe/draw/draw_vbuf.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') 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 } -- cgit v1.2.3