summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers
diff options
context:
space:
mode:
authorChris Forbes <[email protected]>2013-10-13 20:56:42 +1300
committerChris Forbes <[email protected]>2013-11-25 22:01:36 +1300
commit3953766e57f96be754229bb109ba5dfdcdbc8b50 (patch)
tree3dfad25891e0a56a3729c978f4922b26d87f496c /src/mesa/drivers
parent803fcc329862e58b7b1f5e438cb60b72870f173f (diff)
mesa: pass indirect buffer to sw primitive restart
Reviewed-by: Kenneth Graunke <[email protected]> Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r--src/mesa/drivers/dri/i965/brw_primitive_restart.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_primitive_restart.c b/src/mesa/drivers/dri/i965/brw_primitive_restart.c
index 3748e74f782..f014b60bab6 100644
--- a/src/mesa/drivers/dri/i965/brw_primitive_restart.c
+++ b/src/mesa/drivers/dri/i965/brw_primitive_restart.c
@@ -176,7 +176,7 @@ brw_handle_primitive_restart(struct gl_context *ctx,
/* Not all the primitive draw modes are supported by the cut index,
* so take the software path
*/
- vbo_sw_primitive_restart(ctx, prims, nr_prims, ib);
+ vbo_sw_primitive_restart(ctx, prims, nr_prims, ib, indirect);
}
brw->prim_restart.in_progress = false;