projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6179f7e
)
vbo: init num_instances in split_prims()
author
Brian Paul
<brianp@vmware.com>
Mon, 17 Jan 2011 16:56:56 +0000
(09:56 -0700)
committer
Brian Paul
<brianp@vmware.com>
Mon, 17 Jan 2011 16:56:58 +0000
(09:56 -0700)
Fixes a VTK regression after adding GL_ARB_draw_instanced.
src/mesa/vbo/vbo_split_inplace.c
patch
|
blob
|
history
diff --git
a/src/mesa/vbo/vbo_split_inplace.c
b/src/mesa/vbo/vbo_split_inplace.c
index 789cf31364be92ca579a8ac9daf0a5bc9c21c85d..fd5044fac0590b1f4dd62b881bd0b48a66b371e5 100644
(file)
--- a/
src/mesa/vbo/vbo_split_inplace.c
+++ b/
src/mesa/vbo/vbo_split_inplace.c
@@
-178,6
+178,7
@@
static void split_prims( struct split_context *split)
outprim->end = (nr == remaining && prim->end);
outprim->start = prim->start + j;
outprim->count = nr;
+ outprim->num_instances = prim->num_instances;
update_index_bounds(split, outprim);