st/nine: Detach buffers in swapchain dtor.
authorAxel Davy <axel.davy@ens.fr>
Sat, 3 Dec 2016 17:58:00 +0000 (18:58 +0100)
committerAxel Davy <axel.davy@ens.fr>
Tue, 20 Dec 2016 22:47:08 +0000 (23:47 +0100)
commit098ba64c4c2e15defb469b791fb3e88f89ae8759
tree0e87906358aa155c7bffa158d9d4ce7d2ff48e31
parent14875ebd83fe746fc8c42496c385cc261e495dd2
st/nine: Detach buffers in swapchain dtor.

BackBuffers can survive swapchain dtor if
the user has a reference on them.

The swapchain itself has no reference on the buffer.

Signed-off-by: Axel Davy <axel.davy@ens.fr>
src/gallium/state_trackers/nine/swapchain9.c