OSDN Git Service

st/nine: Flush the queue at device dtor
authorAxel Davy <axel.davy@ens.fr>
Wed, 28 Dec 2016 17:58:48 +0000 (18:58 +0100)
committerAxel Davy <axel.davy@ens.fr>
Thu, 12 Jan 2017 19:33:11 +0000 (20:33 +0100)
commit5f4359ea0ed54b06d443e0ba040eb73406fc3e34
treebe18aba00eb368babf8798bb7b9ff08883fd9263
parent4e922c81f616bba71565de8d7fd8f5f6955ce1cc
st/nine: Flush the queue at device dtor

Flush the queue to get refcounts right, and properly
release the items, instead of throwing away all pending
commands.

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