Skip to content

Commit

Permalink
gfx_api: Don't abort if Vulkan backend is unavailable - return false …
Browse files Browse the repository at this point in the history
…to allow proper fallback handling
  • Loading branch information
past-due committed Nov 2, 2023
1 parent 054fb6e commit fa4403f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ivis_opengl/gfx_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ bool gfx_api::context::initialize(const gfx_api::backend_Impl_Factory& impl, int
#if defined(WZ_VULKAN_ENABLED)
current_backend_context = new VkRoot(uses_gfx_debug);
#else
debug(LOG_FATAL, "Warzone was not compiled with the Vulkan backend enabled. Aborting.");
abort();
debug(LOG_FATAL, "Warzone 2100 was not compiled with support for the Vulkan backend.");
return false;
#endif
break;
}
Expand Down

0 comments on commit fa4403f

Please sign in to comment.