From 3953766e57f96be754229bb109ba5dfdcdbc8b50 Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sun, 13 Oct 2013 20:56:42 +1300 Subject: mesa: pass indirect buffer to sw primitive restart Reviewed-by: Kenneth Graunke Reviewed-by: Eric Anholt --- src/mesa/vbo/vbo_exec_array.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/vbo/vbo_exec_array.c') diff --git a/src/mesa/vbo/vbo_exec_array.c b/src/mesa/vbo/vbo_exec_array.c index db7da6922ea..8152fa1623e 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, -- cgit v1.2.3