aux/vk: Print vkCreateDevice error num too

This commit is contained in:
Christoph Haag 2021-07-15 17:21:59 +02:00 committed by Jakob Bornecrantz
parent be0b4f496a
commit 82140ea83b

View file

@ -1425,7 +1425,7 @@ vk_create_device(struct vk_bundle *vk,
free(device_extensions);
if (ret != VK_SUCCESS) {
VK_DEBUG(vk, "vkCreateDevice: %s", vk_result_string(ret));
VK_DEBUG(vk, "vkCreateDevice: %s (%d)", vk_result_string(ret), ret);
return ret;
}