mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -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_HOST_MEMORY:
|
||||||
case VK_ERROR_OUT_OF_DEVICE_MEMORY:
|
case VK_ERROR_OUT_OF_DEVICE_MEMORY:
|
||||||
return E_OUTOFMEMORY;
|
return E_OUTOFMEMORY;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
FIXME("Unhandled VkResult %d.\n", vr);
|
FIXME("Unhandled VkResult %d.\n", vr);
|
||||||
|
case VK_ERROR_DEVICE_LOST:
|
||||||
return E_FAIL;
|
return E_FAIL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user