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 13, 2023
1 parent 0176c90 commit e2be1a7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/ivis_opengl/gfx_api_vk.cpp
Original file line number Diff line number Diff line change
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 e2be1a7

Please sign in to comment.