diff options
Diffstat (limited to 'src/mesa/vbo/vbo_primitive_restart.c')
-rw-r--r-- | src/mesa/vbo/vbo_primitive_restart.c | 4 |
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 1faf3a68229..4f380b6dcba 100644 --- a/src/mesa/vbo/vbo_primitive_restart.c +++ b/src/mesa/vbo/vbo_primitive_restart.c @@ -248,11 +248,11 @@ vbo_sw_primitive_restart(struct gl_context *ctx, (temp_prim.count == sub_prim->count)) { ctx->Driver.Draw(ctx, &temp_prim, 1, ib, GL_TRUE, sub_prim->min_index, sub_prim->max_index, - NULL, 0, NULL); + NULL, 0); } else { ctx->Driver.Draw(ctx, &temp_prim, 1, ib, GL_FALSE, -1, -1, - NULL, 0, NULL); + NULL, 0); } } if (sub_end_index >= end_index) { |