vkd3d: Use debugstr_hresult() in vkd3d_create_device().

This commit is contained in:
Henri Verbeet 2024-01-17 17:58:52 +01:00 committed by Alexandre Julliard
parent ad08cbc390
commit a86a21667c
Notes: Alexandre Julliard 2024-01-24 22:56:11 +01:00
Approved-by: Giovanni Mascellani (@giomasce)
Approved-by: Alexandre Julliard (@julliard)
Merge-Request: https://gitlab.winehq.org/wine/vkd3d/-/merge_requests/597

View File

@ -60,7 +60,7 @@ HRESULT vkd3d_create_device(const struct vkd3d_device_create_info *create_info,
}
else if (FAILED(hr = vkd3d_create_instance(create_info->instance_create_info, &instance)))
{
WARN("Failed to create instance, hr %#x.\n", hr);
WARN("Failed to create instance, hr %s.\n", debugstr_hresult(hr));
return E_FAIL;
}