draw: Forgot to remove one istart usage.
authorJosé Fonseca <jfonseca@vmware.com>
Wed, 30 Mar 2011 15:08:42 +0000 (16:08 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Wed, 30 Mar 2011 15:09:34 +0000 (16:09 +0100)
src/gallium/auxiliary/draw/draw_pt_vsplit_tmp.h

index 228da68d4115b391eab82702c73c3be24fa45844..2acaef3f3d558618e545a2b43566aba1029dc259 100644 (file)
@@ -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);