summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_exec_array.c
diff options
context:
space:
mode:
authorChris Forbes <chrisf@ijw.co.nz>2013-10-13 20:56:42 +1300
committerChris Forbes <chrisf@ijw.co.nz>2013-11-25 22:01:36 +1300
commit3953766e57f96be754229bb109ba5dfdcdbc8b50 (patch)
tree3dfad25891e0a56a3729c978f4922b26d87f496c /src/mesa/vbo/vbo_exec_array.c
parent803fcc329862e58b7b1f5e438cb60b72870f173f (diff)
downloadexternal_mesa3d-3953766e57f96be754229bb109ba5dfdcdbc8b50.zip
external_mesa3d-3953766e57f96be754229bb109ba5dfdcdbc8b50.tar.gz
external_mesa3d-3953766e57f96be754229bb109ba5dfdcdbc8b50.tar.bz2
mesa: pass indirect buffer to sw primitive restart
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to 'src/mesa/vbo/vbo_exec_array.c')
-rw-r--r--src/mesa/vbo/vbo_exec_array.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c
index db7da69..8152fa1 100644
--- a/src/mesa/vbo/vbo_exec_array.c
+++ b/src/mesa/vbo/vbo_exec_array.c
@@ -579,7 +579,7 @@ vbo_handle_primitive_restart(struct gl_context *ctx,
ctx->Const.PrimitiveRestartInSoftware &&
ctx->Array._PrimitiveRestart) {
/* Handle primitive restart in software */
- vbo_sw_primitive_restart(ctx, prim, nr_prims, ib);
+ vbo_sw_primitive_restart(ctx, prim, nr_prims, ib, NULL);
} else {
/* Call driver directly for draw_prims */
vbo->draw_prims(ctx, prim, nr_prims, ib,