st/nine: Fix a leak in Swapchain dtor
authorAxel Davy <axel.davy@ens.fr>
Fri, 18 Nov 2016 18:11:29 +0000 (19:11 +0100)
committerAxel Davy <axel.davy@ens.fr>
Tue, 20 Dec 2016 22:44:21 +0000 (23:44 +0100)
commit35ea402a24545770353713434e35bd791687841c
tree1971b643e6c207f7c136ac2a9cf0cd92b6e9d971
parentf78cbbdfaaf2e83708da93fe62b1b73c27cd3ef5
st/nine: Fix a leak in Swapchain dtor

Count properly the number of backbuffers,
and use the new info to release the correct
number of buffers

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