libs/vkd3d: Explicitly handle VK_ERROR_DEVICE_LOST in hresult_from_vk_result().

This commit is contained in:
Henri Verbeet 2017-08-21 22:36:47 +02:00
parent 3fd94c3c04
commit b4d6aa0dbd

View File

@ -336,9 +336,9 @@ HRESULT hresult_from_vk_result(VkResult vr)
case VK_ERROR_OUT_OF_HOST_MEMORY:
case VK_ERROR_OUT_OF_DEVICE_MEMORY:
return E_OUTOFMEMORY;
default:
FIXME("Unhandled VkResult %d.\n", vr);
case VK_ERROR_DEVICE_LOST:
return E_FAIL;
}
}