mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2024-11-21 16:46:41 -08:00
libs/vkd3d: Explicitly handle VK_ERROR_DEVICE_LOST in hresult_from_vk_result().
This commit is contained in:
parent
3fd94c3c04
commit
b4d6aa0dbd
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user