projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
425cfa1
)
draw: remove set-but-unused variable
author
Marek Olšák
<maraeo@gmail.com>
Sun, 1 May 2011 12:12:47 +0000
(14:12 +0200)
committer
Marek Olšák
<maraeo@gmail.com>
Sun, 1 May 2011 12:12:47 +0000
(14:12 +0200)
src/gallium/auxiliary/draw/draw_vertex.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_vertex.c
b/src/gallium/auxiliary/draw/draw_vertex.c
index a4f5e882c0a9137f5c5b467becfaab798cf16e54..a1b2b8ff975cd3b9843f281770a8bd3acc050f53 100644
(file)
--- a/
src/gallium/auxiliary/draw/draw_vertex.c
+++ b/
src/gallium/auxiliary/draw/draw_vertex.c
@@
-60,10
+60,9
@@
draw_compute_vertex_size(struct vertex_info *vinfo)
void
draw_dump_emitted_vertex(const struct vertex_info *vinfo, const uint8_t *data)
{
- unsigned i
, j
;
+ unsigned i;
for (i = 0; i < vinfo->num_attribs; i++) {
- j = vinfo->attrib[i].src_index;
switch (vinfo->attrib[i].emit) {
case EMIT_OMIT:
debug_printf("EMIT_OMIT:");