mirror of
https://github.com/libretro/RetroArch
synced 2025-01-26 09:35:21 +00:00
(vulkan_common.c) Add log error when vkCreateInstance fails
This commit is contained in:
parent
0b9ea0943b
commit
7d0205deac
@ -1088,7 +1088,10 @@ bool vulkan_context_init(gfx_ctx_vulkan_data_t *vk,
|
||||
cached_instance = NULL;
|
||||
}
|
||||
else if (VKFUNC(vkCreateInstance)(&info, NULL, &vk->context.instance) != VK_SUCCESS)
|
||||
{
|
||||
RARCH_ERR("Failed to create Vulkan instance.\n");
|
||||
return false;
|
||||
}
|
||||
|
||||
VK_GET_INSTANCE_PROC_ADDR(vk, vk->context.instance,
|
||||
GetPhysicalDeviceFormatProperties);
|
||||
|
Loading…
x
Reference in New Issue
Block a user