st/mesa: purge framebuffers when unbinding a context
authorMarek Olšák <marek.olsak@amd.com>
Mon, 21 Jan 2019 17:09:07 +0000 (12:09 -0500)
committerMarek Olšák <marek.olsak@amd.com>
Wed, 23 Jan 2019 19:32:57 +0000 (14:32 -0500)
commitc89e8470e58066637c4bfd5c76a2247eb3608b8b
tree9276dda94716a965b31bc84f0c6ce67ad01309bc
parent5c17c01815399ceac90b269e5ccc271963231db8
st/mesa: purge framebuffers when unbinding a context

This fixes pipe_surface "leaks".

Cc: 18.3 <mesa-stable@lists.freedesktop.org>
Acked-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/state_tracker/st_manager.c