projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60ec71e
)
r600g: Remove unused variable.
author
Vinson Lee
<vlee@vmware.com>
Sat, 25 Sep 2010 19:25:44 +0000
(12:25 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Sat, 25 Sep 2010 19:25:44 +0000
(12:25 -0700)
Fixes this GCC warning.
r600_draw.c: In function 'r600_draw_common':
r600_draw.c:71: warning: unused variable 'format'
src/gallium/drivers/r600/r600_draw.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_draw.c
b/src/gallium/drivers/r600/r600_draw.c
index 5b389462e724cc08afb1cd7921eb44712bda1421..afc3b7bba16d63bf3a58f0ec201d3747665bc724 100644
(file)
--- 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;