summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/draw
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-03-14 08:42:45 +0000
committerKeith Whitwell <[email protected]>2008-03-14 08:42:45 +0000
commite4cdce43cebe6a2b38f7ea5145474ca2b12c57bb (patch)
tree3c29bfe4f9c27024edd62e029267e8a4ac80d089 /src/gallium/auxiliary/draw
parentd34bc880a4d17420ec20d422dcb461783457c473 (diff)
gallium: fix some compiler warnings
Diffstat (limited to 'src/gallium/auxiliary/draw')
-rw-r--r--src/gallium/auxiliary/draw/draw_prim.c4
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 ff71ba9b73c..888fa536ea3 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];