draw: Fix vsplit regression when the ib can be used directly.

`ib` no longer is offseted by `istart`.

Trivial.
This commit is contained in:
José Fonseca 2013-05-15 16:57:11 +01:00
parent 53a5f11f0d
commit 1883e1d3e9
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ CONCAT(vsplit_primitive_, ELT_TYPE)(struct vsplit_frontend *vsplit,
debug_printf("warning: index out of range\n");
}
}
draw_elts = (const ushort *) ib;
draw_elts = (const ushort *) (ib + istart);
}
else {
/* have to go through vsplit->draw_elts */