diff options
author | Brian Paul <[email protected]> | 2011-01-18 12:16:58 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2011-01-18 12:18:32 -0700 |
commit | 90ff6178a2350cdf7b1c1a28bf3a8c9a66da3d4b (patch) | |
tree | 6a9f64453e71b815d7d342a52bf2e2bb3a4ed06e /src/mesa/vbo/vbo_split_copy.c | |
parent | d5a53ad271396257ee037a56cb10ba9382460705 (diff) |
vbo: initialize num_instances in a few places
This fixes https://bugs.freedesktop.org/show_bug.cgi?id=33247
There might still be some issues with drawing multiple instances
with VBO splitting to investigate someday.
Diffstat (limited to 'src/mesa/vbo/vbo_split_copy.c')
-rw-r--r-- | src/mesa/vbo/vbo_split_copy.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/vbo/vbo_split_copy.c b/src/mesa/vbo/vbo_split_copy.c index 26d0046e83d..8c981f93e5c 100644 --- a/src/mesa/vbo/vbo_split_copy.c +++ b/src/mesa/vbo/vbo_split_copy.c @@ -222,6 +222,7 @@ begin( struct copy_context *copy, GLenum mode, GLboolean begin_flag ) prim->mode = mode; prim->begin = begin_flag; + prim->num_instances = 1; } |