util: Fix the range of util_draw_elements_instanced.
authorChia-I Wu <olv@lunarg.com>
Fri, 30 Jul 2010 15:44:16 +0000 (23:44 +0800)
committerChia-I Wu <olv@lunarg.com>
Fri, 30 Jul 2010 15:45:56 +0000 (23:45 +0800)
Keep min_index and max_index at their defaults (0 and ~0).

src/gallium/auxiliary/util/u_draw.h

index b901f9700891f8ca8de413e15742b23d0221e984..2a91ea0f9ae5c2dddbfa05bd77b5c0926bc75073 100644 (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);
 }