Henri Verbeet : wined3d: Wait for the resource to become idle when destroying user memory textures.