summaryrefslogtreecommitdiffstats
path: root/src/mesa/vbo/vbo_primitive_restart.c
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2013-04-05 12:12:08 +0200
committerChris Forbes <[email protected]>2013-11-25 22:01:35 +1300
commit80ac616fca709ab10f7aae062d96ec18d05097a7 (patch)
treeb144d9b4029a3ded710cbfe73d5c0dcf5f617ab9 /src/mesa/vbo/vbo_primitive_restart.c
parenteb0892b4b115a36ffb9f0904e418ec62a182427c (diff)
mesa: add indirect drawing buffer parameter to draw functions
Split from patch implementing ARB_draw_indirect. v2: Const-qualify the struct gl_buffer_object *indirect argument. v3: Fix up some more draw calls for new argument. v4: Fix up rebase conflicts in i965. v5: Undo const-qualification 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/vbo/vbo_primitive_restart.c b/src/mesa/vbo/vbo_primitive_restart.c
index 418f8829d9b..e5c93ac6dfc 100644
--- a/src/mesa/vbo/vbo_primitive_restart.c
+++ b/src/mesa/vbo/vbo_primitive_restart.c
@@ -214,11 +214,11 @@ vbo_sw_primitive_restart(struct gl_context *ctx,
(temp_prim.count == sub_prim->count)) {
draw_prims_func(ctx, &temp_prim, 1, ib,
GL_TRUE, sub_prim->min_index, sub_prim->max_index,
- NULL);
+ NULL, NULL);
} else {
draw_prims_func(ctx, &temp_prim, 1, ib,
GL_FALSE, -1, -1,
- NULL);
+ NULL, NULL);
}
}
if (sub_end_index >= end_index) {