diff options
author | marha <marha@users.sourceforge.net> | 2012-06-21 08:11:16 +0200 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2012-06-21 08:11:16 +0200 |
commit | 478ec8cab167e7d8be4973fc3f8d425b1baa4496 (patch) | |
tree | 0b05eb5a0e3a989a66baff04a954db416444f7c5 /mesalib/src/mesa/vbo/vbo_save_api.c | |
parent | 62d040da7ea0a76d48014b5247d98b428ca50a15 (diff) | |
parent | da6ea6d64418710cbf7e0639dfefd2d856d53f1a (diff) | |
download | vcxsrv-478ec8cab167e7d8be4973fc3f8d425b1baa4496.tar.gz vcxsrv-478ec8cab167e7d8be4973fc3f8d425b1baa4496.tar.bz2 vcxsrv-478ec8cab167e7d8be4973fc3f8d425b1baa4496.zip |
Merge remote-tracking branch 'origin/released'
Diffstat (limited to 'mesalib/src/mesa/vbo/vbo_save_api.c')
-rw-r--r-- | mesalib/src/mesa/vbo/vbo_save_api.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mesalib/src/mesa/vbo/vbo_save_api.c b/mesalib/src/mesa/vbo/vbo_save_api.c index f202375ca..b2c9dd5f0 100644 --- a/mesalib/src/mesa/vbo/vbo_save_api.c +++ b/mesalib/src/mesa/vbo/vbo_save_api.c @@ -471,6 +471,7 @@ _save_wrap_buffers(struct gl_context *ctx) save->prim[0].start = 0; save->prim[0].count = 0; save->prim[0].num_instances = 1; + save->prim[0].base_instance = 0; save->prim_count = 1; } @@ -907,6 +908,7 @@ vbo_save_NotifyBegin(struct gl_context *ctx, GLenum mode) save->prim[i].start = save->vert_count; save->prim[i].count = 0; save->prim[i].num_instances = 1; + save->prim[i].base_instance = 0; if (save->out_of_memory) { _mesa_install_save_vtxfmt(ctx, &save->vtxfmt_noop); |