diff options
author | Keith Whitwell <[email protected]> | 2005-05-10 18:08:25 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2005-05-10 18:08:25 +0000 |
commit | c5f5055097e8fa23e8ba8bd39b0d9b747148c996 (patch) | |
tree | 8e516b484125601be51979e455d1a5c1f2f36c4b /src/mesa/tnl | |
parent | dbeea25bb834479a29712100888c862348112018 (diff) |
Fix some valgrind complaints
Diffstat (limited to 'src/mesa/tnl')
-rw-r--r-- | src/mesa/tnl/t_save_api.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/tnl/t_save_api.c b/src/mesa/tnl/t_save_api.c index 67fee8e29a9..dcc8850bec0 100644 --- a/src/mesa/tnl/t_save_api.c +++ b/src/mesa/tnl/t_save_api.c @@ -242,13 +242,15 @@ static void _save_compile_vertex_list( GLcontext *ctx ) _mesa_memcpy(node->attrsz, tnl->save.attrsz, sizeof(node->attrsz)); node->vertex_size = tnl->save.vertex_size; node->buffer = tnl->save.buffer; - node->wrap_count = tnl->save.copied.nr; node->count = tnl->save.initial_counter - tnl->save.counter; + node->wrap_count = tnl->save.copied.nr; + node->have_materials = tnl->save.have_materials; + node->dangling_attr_ref = tnl->save.dangling_attr_ref; + node->normal_lengths = NULL; node->prim = tnl->save.prim; node->prim_count = tnl->save.prim_count; node->vertex_store = tnl->save.vertex_store; node->prim_store = tnl->save.prim_store; - node->normal_lengths = NULL; node->vertex_store->refcount++; node->prim_store->refcount++; |