summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2011-03-30 16:08:42 +0100
committerJosé Fonseca <[email protected]>2011-03-30 16:09:34 +0100
commitdcad6fb670ccc533167d1ae360833989c1eb4823 (patch)
treefdf11c6ef9134c94162adabc6162c25b95a5ddb4
parent713230ff39cd22a2082c12b937889c3ef81973ac (diff)
draw: Forgot to remove one istart usage.
-rw-r--r--src/gallium/auxiliary/draw/draw_pt_vsplit_tmp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/draw/draw_pt_vsplit_tmp.h b/src/gallium/auxiliary/draw/draw_pt_vsplit_tmp.h
index 228da68d411..2acaef3f3d5 100644
--- a/src/gallium/auxiliary/draw/draw_pt_vsplit_tmp.h
+++ b/src/gallium/auxiliary/draw/draw_pt_vsplit_tmp.h
@@ -93,7 +93,7 @@ CONCAT(vsplit_primitive_, ELT_TYPE)(struct vsplit_frontend *vsplit,
}
else {
for (i = 0; i < icount; i++) {
- ELT_TYPE idx = ib[istart + i];
+ ELT_TYPE idx = ib[i];
assert(idx >= min_index && idx <= max_index);
vsplit->draw_elts[i] = (ushort) (idx - min_index);