st/nine: Change StretchRect check order
authorAxel Davy <axel.davy@ens.fr>
Mon, 24 Aug 2015 17:36:55 +0000 (19:36 +0200)
committerAxel Davy <axel.davy@ens.fr>
Thu, 4 Feb 2016 21:12:17 +0000 (22:12 +0100)
commitb39fd5b1daa8baac3d792c0032d7a12f6eaf0392
tree22d74e41d0c94312899d03e2e1530650818e2510
parenta82e67812a18208643919f44066452bd06558797
st/nine: Change StretchRect check order

Textures in SYSTEMMEM don't have resources attached.
Instead of returning an error for them, StretchRect
was crashing.
This changes the check order to fix that case.

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