summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/softpipe/sp_prim_vbuf.c
diff options
context:
space:
mode:
authorKeith Whitwell <keith@tungstengraphics.com>2008-03-14 08:42:45 +0000
committerKeith Whitwell <keith@tungstengraphics.com>2008-03-14 08:42:45 +0000
commite4cdce43cebe6a2b38f7ea5145474ca2b12c57bb (patch)
tree3c29bfe4f9c27024edd62e029267e8a4ac80d089 /src/gallium/drivers/softpipe/sp_prim_vbuf.c
parentd34bc880a4d17420ec20d422dcb461783457c473 (diff)
gallium: fix some compiler warnings
Diffstat (limited to 'src/gallium/drivers/softpipe/sp_prim_vbuf.c')
-rw-r--r--src/gallium/drivers/softpipe/sp_prim_vbuf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/softpipe/sp_prim_vbuf.c b/src/gallium/drivers/softpipe/sp_prim_vbuf.c
index 184aac16f4..db0913cb2b 100644
--- a/src/gallium/drivers/softpipe/sp_prim_vbuf.c
+++ b/src/gallium/drivers/softpipe/sp_prim_vbuf.c
@@ -196,7 +196,7 @@ sp_vbuf_draw_arrays(struct vbuf_render *vbr, uint start, uint nr)
struct prim_header prim;
const void *vertex_buffer = cvbr->vertex_buffer;
const unsigned vertex_size = softpipe->vertex_info_vbuf.size * sizeof(float);
- unsigned i, j;
+ unsigned i;
prim.det = 0;
prim.reset_line_stipple = 0;