diff options
Diffstat (limited to 'main.c')
-rwxr-xr-x | main.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -486,6 +486,8 @@ int rvkCreateWorld(struct RenderVulkan **vkOut) } VkResult result; + // FIXME: Use `vkEnumerateInstanceExtensionProperties` to query for + // debug & validation support or it will fail if not found. //if ((result = rvkCreateInternalInstance(vk, 0, NULL, 0, NULL))) { if ((result = rvkCreateInternalInstance(vk, nInstanceLayers, instanceLayers, nInstanceExtensions, instanceExtensions))) { return -1; @@ -630,7 +632,7 @@ int rvkCreateSurface(struct RenderVulkan *vk, const PuglRect frame) PuglStatus status; if ((status = puglCreateWindow(vk->view, "Vulkan Application Using Pugl"))) { - rvkSetErrMsg(vk, "Could not create window: %d\n", status); + rvkSetErrMsg(vk, "Could not create window: %s\n", puglStrerror(status)); return -1; } |