don't return error on swapchain context

This commit is contained in:
PancakeTAS 2025-07-19 13:23:53 +02:00
parent c1413a3ed9
commit 13c30c1afe
No known key found for this signature in database

View file

@ -194,7 +194,7 @@ namespace {
Utils::logLimitN("swapCtxCreate", 5,
"An error occurred while creating the swapchain wrapper:\n"
"- " + std::string(e.what()));
return VK_ERROR_INITIALIZATION_FAILED;
return VK_SUCCESS; // swapchain is still valid
}
return VK_SUCCESS;
}