wined3d: Don't evict mapped resources in wined3d_device_evict_managed_resources().
commitbcb1ee82449d8e56caa4268118c7590e0385162b
authorHenri Verbeet <hverbeet@codeweavers.com>
Sun, 10 Apr 2016 16:09:26 +0000 (10 18:09 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 11 Apr 2016 02:35:59 +0000 (11 11:35 +0900)
tree82fa0673fbc4aabfe30367c9cf57453743c05c75
parentaca6182469f66aff9e54c3c9a2f6e3f1044e80c6
wined3d: Don't evict mapped resources in wined3d_device_evict_managed_resources().

We would skip evicting the specific mapped sub-resource, but then go on
to evict the texture itself.

Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/wined3d/device.c
dlls/wined3d/texture.c