Skip to content

Commit

Permalink
[Vulkan] handleUnrecoverableError: Log the error
Browse files Browse the repository at this point in the history
  • Loading branch information
past-due committed Oct 14, 2023
1 parent 3e8029c commit 17deb1b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ivis_opengl/gfx_api_vk.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit 17deb1b

Please sign in to comment.