libs/vkd3d: Handle VK_ERROR_EXTENSION_NOT_PRESENT in hresult_from_vk_result().

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:
Józef Kucia 2018-03-28 15:03:21 +02:00 committed by Alexandre Julliard
parent 26cbfbe647
commit dd461ca6b8

View File

@ -347,6 +347,7 @@ HRESULT hresult_from_vk_result(VkResult vr)
default:
FIXME("Unhandled VkResult %d.\n", vr);
case VK_ERROR_DEVICE_LOST:
case VK_ERROR_EXTENSION_NOT_PRESENT:
return E_FAIL;
}
}