mesa: revert some recent VBO buffer object refcounting changes
authorBrian Paul <brianp@vmware.com>
Mon, 15 Jun 2009 16:58:04 +0000 (10:58 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 15 Jun 2009 16:58:04 +0000 (10:58 -0600)
commit01f7bda44c92268fa288bbd8f53af3a3620bd315
treef6f2c3ee5509989ebe72ff7a9c2a17c086721584
parentb0d874bfbec8a323d7a69d98fad875162222a1cb
mesa: revert some recent VBO buffer object refcounting changes

Reverts part of commit d7ea9ddf5824556e47decac7ba200f37cf1e552f.
We were calling _mesa_reference_buffer_object() on some heap-allocated
memory that was uninitialized and could trigger an assertion.
We can actually go back to "looser" ref counting of the Null/default
buffer object in these cases.
src/mesa/vbo/vbo_rebase.c
src/mesa/vbo/vbo_split_copy.c