mesa: use new _mesa_reference_shared_state() function
authorBrian Paul <brianp@vmware.com>
Wed, 1 Feb 2012 01:23:03 +0000 (18:23 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 1 Feb 2012 14:11:40 +0000 (07:11 -0700)
commit361cd53a77dd48fbf2a0321446c0b7c07365bff9
tree82d1936b9c52b28889a2d4d750269fc3db0b220d
parent133c5727b58c60afe6467ecbfe07739c7466d8c8
mesa: use new _mesa_reference_shared_state() function

This cleans up the reference counting of shared context state.
The next patch will use this to fix an actual bug.

NOTE: This is a candidate for the 8.0 branch.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/main/context.c
src/mesa/main/shared.c
src/mesa/main/shared.h