mesa: improved gl_buffer_object reference counting
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 4 Sep 2008 20:58:02 +0000 (14:58 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 4 Sep 2008 20:59:40 +0000 (14:59 -0600)
commit37c74af01ce52b603f565a6c8a9094500d5cb87a
tree8c1a0207de4a4a623d32a3f686170205c984e779
parent4a32f0c63886b985743ecadc24fd60a23864c491
mesa: improved gl_buffer_object reference counting

Use new _mesa_reference_buffer_object() function wherever possible.
Fixes buffer object/display list crash reported in ParaView.
src/mesa/main/arrayobj.c
src/mesa/main/attrib.c
src/mesa/main/bufferobj.c
src/mesa/main/bufferobj.h
src/mesa/main/varray.c
src/mesa/vbo/vbo_exec_api.c
src/mesa/vbo/vbo_exec_draw.c
src/mesa/vbo/vbo_save.c
src/mesa/vbo/vbo_save_api.c
src/mesa/vbo/vbo_save_draw.c