st/mesa: use pipe_sampler_view_release() in st_destroy_context_priv()
authorBrian Paul <brianp@vmware.com>
Fri, 18 May 2012 21:32:10 +0000 (15:32 -0600)
committerBrian Paul <brianp@vmware.com>
Sat, 19 May 2012 14:28:57 +0000 (08:28 -0600)
commit239792fb221556fbc0da6c046541ea078b6944db
tree5e9a0a612b66a9e331b0a38c785a1165a598973e
parentc9cb9cf0502f4ca179ed1b4dd763c94912843d38
st/mesa: use pipe_sampler_view_release() in st_destroy_context_priv()

Fixes another case of sampler views being created by one context,
shared by another, then deleted by the first, leaving a dangling
pipe context pointer.

Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/mesa/state_tracker/st_context.c