diff --git a/SamTFE/Sources/Engine/Graphics/Adapter.cpp b/SamTFE/Sources/Engine/Graphics/Adapter.cpp index afaae55..2f9b9c0 100644 --- a/SamTFE/Sources/Engine/Graphics/Adapter.cpp +++ b/SamTFE/Sources/Engine/Graphics/Adapter.cpp @@ -414,7 +414,8 @@ void CGfxLibrary::InitAPIs(void) VkResult r = vkCreateInstance(&instanceInfo, nullptr, &tempVkInstance); if (r != VK_SUCCESS) { - ASSERT(FALSE); + CPrintF("Cannot create Vulkan instance.\n"); + return;; } // get all physical devices diff --git a/SamTSE/Sources/Engine/Graphics/Adapter.cpp b/SamTSE/Sources/Engine/Graphics/Adapter.cpp index afaae55..2f9b9c0 100644 --- a/SamTSE/Sources/Engine/Graphics/Adapter.cpp +++ b/SamTSE/Sources/Engine/Graphics/Adapter.cpp @@ -414,7 +414,8 @@ void CGfxLibrary::InitAPIs(void) VkResult r = vkCreateInstance(&instanceInfo, nullptr, &tempVkInstance); if (r != VK_SUCCESS) { - ASSERT(FALSE); + CPrintF("Cannot create Vulkan instance.\n"); + return;; } // get all physical devices