New logger
This commit is contained in:
@@ -114,7 +114,7 @@ void Swapchain::createSwapchain() {
|
||||
this->device.get()->createSwapchainKHR(this->swapchainCreateInfo);
|
||||
// log::trace("created vk::SwapchainKHR");
|
||||
} catch (const vk::SystemError& err) {
|
||||
log::fatal("failed to create swapchain. Error: ", err.what());
|
||||
log::fatal("failed to create swapchain. Error: {}", err.what());
|
||||
throw std::runtime_error("failed to create swapchain");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user