From 82140ea83b406861e2d462aed21bcd9f8e54539f Mon Sep 17 00:00:00 2001 From: Christoph Haag Date: Thu, 15 Jul 2021 17:21:59 +0200 Subject: [PATCH] aux/vk: Print vkCreateDevice error num too --- src/xrt/auxiliary/vk/vk_helpers.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrt/auxiliary/vk/vk_helpers.c b/src/xrt/auxiliary/vk/vk_helpers.c index 0a566bff7..b27349920 100644 --- a/src/xrt/auxiliary/vk/vk_helpers.c +++ b/src/xrt/auxiliary/vk/vk_helpers.c @@ -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; }