diff options
author | Keith Whitwell <keith@tungstengraphics.com> | 2008-03-14 08:42:45 +0000 |
---|---|---|
committer | Keith Whitwell <keith@tungstengraphics.com> | 2008-03-14 08:42:45 +0000 |
commit | e4cdce43cebe6a2b38f7ea5145474ca2b12c57bb (patch) | |
tree | 3c29bfe4f9c27024edd62e029267e8a4ac80d089 /src/gallium/auxiliary/draw/draw_prim.c | |
parent | d34bc880a4d17420ec20d422dcb461783457c473 (diff) |
gallium: fix some compiler warnings
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_prim.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_prim.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_prim.c b/src/gallium/auxiliary/draw/draw_prim.c index ff71ba9b73..888fa536ea 100644 --- a/src/gallium/auxiliary/draw/draw_prim.c +++ b/src/gallium/auxiliary/draw/draw_prim.c @@ -121,8 +121,6 @@ static void draw_prim_queue_flush( struct draw_context *draw ) static INLINE void fetch_and_store(struct draw_context *draw) { - unsigned i; - /* run vertex shader on vertex cache entries, four per invokation */ #if 0 { @@ -131,6 +129,8 @@ static INLINE void fetch_and_store(struct draw_context *draw) count * vinfo->size); } #elif 0 + unsigned i; + draw_update_vertex_fetch(draw); for (i = 0; i < draw->vs.queue_nr; i += 4) { struct vertex_header *dests[4]; |