mesa: move num_instances and base_instance out of _mesa_prim
[mesa.git] / src / mesa / vbo / vbo_save_draw.c
index f6298ee2c9b9f85cb89559c4f1e45c90096105f3..e193a5a32af4bff8aee13ae7a0feeac053369ecd 100644 (file)
@@ -213,7 +213,7 @@ vbo_save_playback_vertex_list(struct gl_context *ctx, void *data)
          GLuint min_index = _vbo_save_get_min_index(node);
          GLuint max_index = _vbo_save_get_max_index(node);
          ctx->Driver.Draw(ctx, node->prims, node->prim_count, NULL, GL_TRUE,
-                          min_index, max_index, NULL, 0);
+                          min_index, max_index, 1, 0, NULL, 0);
       }
    }