From e2be1a7da772a768508393bb3ba5a5eb4e26f3d5 Mon Sep 17 00:00:00 2001 From: past-due <30942300+past-due@users.noreply.github.com> Date: Fri, 13 Oct 2023 14:20:35 -0400 Subject: [PATCH] [Vulkan] handleUnrecoverableError: Log the error --- lib/ivis_opengl/gfx_api_vk.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/ivis_opengl/gfx_api_vk.cpp b/lib/ivis_opengl/gfx_api_vk.cpp index 0de4a6a4ff2..c5a26f7b549 100644 --- a/lib/ivis_opengl/gfx_api_vk.cpp +++ b/lib/ivis_opengl/gfx_api_vk.cpp @@ -228,6 +228,7 @@ static uint32_t findProperties(const vk::PhysicalDeviceMemoryProperties& memprop { // FUTURE TODO: Output a bunch more debugging info to the debug log? } + debug(LOG_ERROR, "Vulkan backend encountered error: %s", vk::to_string(reason).c_str()); // Display a message and prompt the user to try a different graphics backend next time wzPromptToChangeGfxBackendOnFailure("Failed with error: " + vk::to_string(reason)); abort();