mesa/st: Clean up vertex buffer unreferencing
authorThomas Hellstrom <thellstrom@vmware.com>
Tue, 8 Feb 2011 10:36:56 +0000 (11:36 +0100)
committerThomas Hellstrom <thellstrom@vmware.com>
Wed, 9 Feb 2011 08:45:34 +0000 (09:45 +0100)
commita7293cbe5c5e2db29fb36842747da7dd62d9de06
tree8961fd3250ae0046d5565b4e0ac364b088ee8795
parentc26478680989bd3d7303c5d772f7fb2a76045191
mesa/st: Clean up vertex buffer unreferencing

Avoid accessing draw module internal structures outside of the draw module.
Unreference vertex buffers in error path.

Signed-off-by: Thomas Hellstrom <thellstrom@vmware.com>
src/mesa/state_tracker/st_draw_feedback.c