Skip to content
Snippets Groups Projects
Commit b4d6aa0d authored by Henri Verbeet's avatar Henri Verbeet
Browse files

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

parent 3fd94c3c
Branches
Tags
No related merge requests found
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment