diff options
author | Brian Paul <[email protected]> | 2011-01-17 09:56:56 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-01-17 09:56:58 -0700 |
commit | 5a64626ee57183a404827e2cda8359db3529b180 (patch) | |
tree | f1a9b37a23d6c6e9b37c9362fe96afee01611e2c /src | |
parent | 6179f7e38e78eea6fb06180fca3c8b1e78d25f2b (diff) |
vbo: init num_instances in split_prims()
Fixes a VTK regression after adding GL_ARB_draw_instanced.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/vbo/vbo_split_inplace.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/vbo/vbo_split_inplace.c b/src/mesa/vbo/vbo_split_inplace.c index 789cf31364b..fd5044fac05 100644 --- 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); |