summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_primitive_restart.c
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/vbo/vbo_primitive_restart.c
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/vbo/vbo_primitive_restart.c')
-rw-r--r--src/mesa/vbo/vbo_primitive_restart.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/vbo/vbo_primitive_restart.c b/src/mesa/vbo/vbo_primitive_restart.c
index e5c93ac6dfc..75e760fc9de 100644
--- a/src/mesa/vbo/vbo_primitive_restart.c
+++ b/src/mesa/vbo/vbo_primitive_restart.c
@@ -163,7 +163,8 @@ void
vbo_sw_primitive_restart(struct gl_context *ctx,
const struct _mesa_prim *prims,
GLuint nr_prims,
- const struct _mesa_index_buffer *ib)
+ const struct _mesa_index_buffer *ib,
+ struct gl_buffer_object *indirect)
{
GLuint prim_num;
struct sub_primitive *sub_prims;