diff options
author | Brian <brian.paul@tungstengraphics.com> | 2008-01-26 16:46:52 -0700 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2008-01-26 16:46:52 -0700 |
commit | 651e8e9a73b4f0c3424a78b978f710d098f47ae2 (patch) | |
tree | 7309bf542d5b78e4bfb08e34e1f989836954c6dd | |
parent | b717de3238a028a3fdfbaf13eb02dbde262f03e7 (diff) |
gallium: disable unnecessary point/line/tri re-validation in vbuf_flush_indices()
-rw-r--r-- | src/mesa/pipe/draw/draw_vbuf.c | 3 |
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 } |