From: José Fonseca Date: Wed, 30 Mar 2011 15:08:42 +0000 (+0100) Subject: draw: Forgot to remove one istart usage. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=dcad6fb670ccc533167d1ae360833989c1eb4823;p=mesa.git draw: Forgot to remove one istart usage. --- 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);