util: Fix the range of util_draw_elements_instanced.

Keep min_index and max_index at their defaults (0 and ~0).
This commit is contained in:
Chia-I Wu
2010-07-30 23:44:16 +08:00
parent 042018a943
commit 0e7d7d3051
-2
View File
@@ -110,8 +110,6 @@ util_draw_elements_instanced(struct pipe_context *pipe,
info.index_bias = index_bias;
info.start_instance = start_instance;
info.instance_count = instance_count;
info.min_index = start;
info.max_index = start + count - 1;
pipe->draw_vbo(pipe, &info);
}