st/nine: Use new function to query for resolution mismatch
authorPatrick Rudolph <siro@das-labor.org>
Wed, 10 Feb 2016 18:30:20 +0000 (19:30 +0100)
committerAxel Davy <axel.davy@ens.fr>
Wed, 18 May 2016 21:37:14 +0000 (23:37 +0200)
commitc673c46ccf1ed78eaf68011f32bfb1696f765966
tree03d1093c9d3ef0ea909a57fb74a2f441a3ea044b
parentdae9a9172703afc979a2fb7d243dd574227e826e
st/nine: Use new function to query for resolution mismatch

Any third party app might change the current screen resolution.
Poll for resolution mismatch to force a device reset.
Required for non ex devices only.

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