Henri Verbeet : wined3d: Simplify checking if the released resource is in use as a rendertarget in device_resource_released ().