From: Brian Date: Sat, 26 Jan 2008 23:46:52 +0000 (-0700) Subject: gallium: disable unnecessary point/line/tri re-validation in vbuf_flush_indices() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=651e8e9a73b4f0c3424a78b978f710d098f47ae2;p=mesa.git gallium: disable unnecessary point/line/tri re-validation in vbuf_flush_indices() --- diff --git a/src/mesa/pipe/draw/draw_vbuf.c b/src/mesa/pipe/draw/draw_vbuf.c index cd0b4fbbb98..aea5b4aeeef 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 }