projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
042018a
)
util: Fix the range of util_draw_elements_instanced.
author
Chia-I Wu
<olv@lunarg.com>
Fri, 30 Jul 2010 15:44:16 +0000
(23:44 +0800)
committer
Chia-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
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_draw.h
b/src/gallium/auxiliary/util/u_draw.h
index b901f9700891f8ca8de413e15742b23d0221e984..2a91ea0f9ae5c2dddbfa05bd77b5c0926bc75073 100644
(file)
--- 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);
}