draw: Fix vsplit regression when the ib can be used directly.
`ib` no longer is offseted by `istart`. Trivial.
This commit is contained in:
parent
53a5f11f0d
commit
1883e1d3e9
|
@ -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 */
|
||||
|
|
Loading…
Reference in New Issue