st/nine: Call flush_resource before flush
authorAxel Davy <axel.davy@ens.fr>
Thu, 8 Oct 2015 22:08:43 +0000 (00:08 +0200)
committerAxel Davy <axel.davy@ens.fr>
Thu, 4 Feb 2016 21:12:17 +0000 (22:12 +0100)
commit0ac01a9fd7794fd0eb5893ebcb13fb4cfa57d754
tree490f4a776d81b4d5959e8ee49a41c81ddd26ad5d
parentf481b9b952552da48af83e9fd041d73ba47b73f7
st/nine: Call flush_resource before flush

flush_resource needs to be called before flush (for
fast clear resolve, etc).

Removes useless computation of resource (it is
already set correctly).

Signed-off-by: Axel Davy <axel.davy@ens.fr>
Reviewed-by: Patrick Rudolph <siro@das-labor.org>
src/gallium/state_trackers/nine/swapchain9.c