Mesa (master): draw: Forgot to remove one istart usage.

Jose Fonseca jrfonseca at kemper.freedesktop.org
Wed Mar 30 08:09:41 PDT 2011


Module: Mesa
Branch: master
Commit: dcad6fb670ccc533167d1ae360833989c1eb4823
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=dcad6fb670ccc533167d1ae360833989c1eb4823

Author: José Fonseca <jfonseca at vmware.com>
Date:   Wed Mar 30 16:08:42 2011 +0100

draw: Forgot to remove one istart usage.

---

 src/gallium/auxiliary/draw/draw_pt_vsplit_tmp.h |    2 +-
 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 228da68..2acaef3 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);



More information about the mesa-commit mailing list