summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2013-05-15 16:57:11 +0100
committerJosé Fonseca <[email protected]>2013-05-15 16:57:44 +0100
commit1883e1d3e972f552aaf6225390a4dc17484fcd3c (patch)
tree0ab2c64784c90a3fcebfe704650b2d3f2aa636b0 /src/gallium
parent53a5f11f0d89a044546e2bf4396f1972c9d31c4f (diff)
draw: Fix vsplit regression when the ib can be used directly.
`ib` no longer is offseted by `istart`. Trivial.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/draw/draw_pt_vsplit_tmp.h2
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 2d8957e91e7..7f4527ac686 100644
--- a/src/gallium/auxiliary/draw/draw_pt_vsplit_tmp.h
+++ b/src/gallium/auxiliary/draw/draw_pt_vsplit_tmp.h
@@ -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 */