st/nine: Fix resource SetPriority/GetPriority
authorPatrick Rudolph <siro@das-labor.org>
Wed, 13 May 2015 05:19:11 +0000 (07:19 +0200)
committerAxel Davy <axel.davy@ens.fr>
Fri, 21 Aug 2015 20:21:46 +0000 (22:21 +0200)
commit74a77a4c1a5dafccbad0ff8c7fb55156c6643685
tree32b98c25d22755d515a7d9ddf5eb91c22bf6f093
parent40a8943f53ff42f2a3b782e42d8a79711d814ab8
st/nine: Fix resource SetPriority/GetPriority

Return 0 for non MANAGED textures and surfaces.
Fixes failing wine d3d9 tests device.c test_resource_priority.

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