summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-09-25 12:25:44 -0700
committerVinson Lee <vlee@vmware.com>2010-09-25 12:25:44 -0700
commitd7065908e48b296cceb0e1b756e9560a013881a2 (patch)
tree2dab6eac2171a5a7d28190e4d880c82218c52006 /src/gallium/drivers
parent60ec71e8b96da647cd90d8639a4f8bc259d997d5 (diff)
r600g: Remove unused variable.
Fixes this GCC warning. r600_draw.c: In function 'r600_draw_common': r600_draw.c:71: warning: unused variable 'format'
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/r600/r600_draw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_draw.c b/src/gallium/drivers/r600/r600_draw.c
index 5b389462e7..afc3b7bba1 100644
--- a/src/gallium/drivers/r600/r600_draw.c
+++ b/src/gallium/drivers/r600/r600_draw.c
@@ -68,7 +68,7 @@ static int r600_draw_common(struct r600_draw *draw)
/* FIXME vs_resource */
struct radeon_state *vs_resource;
struct r600_resource *rbuffer;
- unsigned i, j, offset, format, prim;
+ unsigned i, j, offset, prim;
u32 vgt_dma_index_type, vgt_draw_initiator;
struct pipe_vertex_buffer *vertex_buffer;
int r;