mirror of
https://gitlab.winehq.org/wine/vkd3d.git
synced 2025-01-28 13:05:02 -08:00
vkd3d: Add WARN() for "out of device memory" errors.
Signed-off-by: Józef Kucia <jkucia@codeweavers.com> Signed-off-by: Henri Verbeet <hverbeet@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
413c8562b9
commit
b7ed0df1f4
@ -387,8 +387,9 @@ HRESULT hresult_from_vk_result(VkResult vr)
|
||||
{
|
||||
case VK_SUCCESS:
|
||||
return S_OK;
|
||||
case VK_ERROR_OUT_OF_HOST_MEMORY:
|
||||
case VK_ERROR_OUT_OF_DEVICE_MEMORY:
|
||||
WARN("Out of device memory.\n");
|
||||
case VK_ERROR_OUT_OF_HOST_MEMORY:
|
||||
return E_OUTOFMEMORY;
|
||||
default:
|
||||
FIXME("Unhandled VkResult %d.\n", vr);
|
||||
|
Loading…
x
Reference in New Issue
Block a user