summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorChia-I Wu <[email protected]>2010-07-30 23:44:16 +0800
committerChia-I Wu <[email protected]>2010-07-30 23:45:56 +0800
commit0e7d7d3051d125621b2b79c11f577fc3a3cc7b2c (patch)
tree1533ba0c0f918809abdbe4e988ff2869d7085ad9 /src/gallium
parent042018a943a403a4d9887b400deb3b3c83ee40c0 (diff)
util: Fix the range of util_draw_elements_instanced.
Keep min_index and max_index at their defaults (0 and ~0).
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/util/u_draw.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/util/u_draw.h b/src/gallium/auxiliary/util/u_draw.h
index b901f970089..2a91ea0f9ae 100644
--- a/src/gallium/auxiliary/util/u_draw.h
+++ b/src/gallium/auxiliary/util/u_draw.h
@@ -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);
}