mesa: move num_instances and base_instance out of _mesa_prim
[mesa.git] / src / mesa / tnl / t_rebase.c
index 24abcef98a284ee0a0d26fe05ed2c2c6c830c467..06d67620f634a2864a576ff9e4c788bc38ead130 100644 (file)
@@ -110,6 +110,8 @@ void t_rebase_prims( struct gl_context *ctx,
                      const struct _mesa_index_buffer *ib,
                      GLuint min_index,
                      GLuint max_index,
+                     GLuint num_instances,
+                     GLuint base_instance,
                      tnl_draw_func draw )
 {
    struct gl_array_attributes tmp_attribs[VERT_ATTRIB_MAX];
@@ -242,6 +244,7 @@ void t_rebase_prims( struct gl_context *ctx,
         GL_TRUE,
         0, 
         max_index - min_index,
+         num_instances, base_instance,
         NULL, 0);
 
    free(tmp_indices);