st/mesa: release sampler views when redefining a texture in st_context_teximage
authorMarek Olšák <marek.olsak@amd.com>
Thu, 27 Jul 2017 23:52:13 +0000 (01:52 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Fri, 28 Jul 2017 06:03:24 +0000 (08:03 +0200)
commit5c1241268ba9b240cb79ab9a30c5255b176c83c9
treec946ff0ddff9110d73ee3588623a831dd018b8b5
parent800d1622096ca52b955bdfc20eb770b80ef15221
st/mesa: release sampler views when redefining a texture in st_context_teximage

Noticed randomly.

Cc: 17.2 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_manager.c