st/nine: Return correct error codes in NineDevice9_Reset
authorPatrick Rudolph <siro@das-labor.org>
Tue, 19 May 2015 18:18:29 +0000 (20:18 +0200)
committerAxel Davy <axel.davy@ens.fr>
Fri, 21 Aug 2015 20:21:46 +0000 (22:21 +0200)
commitbc6c80e54714e939e4bc116374f410680e7a3632
tree5cc53a7fddaaafcd8fa2d55e45001b22c74a3404
parentd0a4374e1a04ba16f36ea91fdb390633fe941978
st/nine: Return correct error codes in NineDevice9_Reset

Allow more than two errors, and return D3DERR_INVALIDCALL
for failed display resolution changes.

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