From f422497ccab3eee8571df60bd77276fb401d10ec Mon Sep 17 00:00:00 2001 From: Charles Giessen Date: Thu, 10 Jun 2021 09:22:48 -0600 Subject: [PATCH] Remove stray semicolon --- src/VkBootstrap.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/VkBootstrap.cpp b/src/VkBootstrap.cpp index 4f0f673..bd2c5a6 100644 --- a/src/VkBootstrap.cpp +++ b/src/VkBootstrap.cpp @@ -1753,7 +1753,7 @@ detail::Result SwapchainBuilder::build() const { detail::vulkan_functions().get_device_proc_addr(info.device, swapchain_create_proc, "vkCreateSwapchainKHR"); auto res = swapchain_create_proc( info.device, &swapchain_create_info, info.allocation_callbacks, &swapchain.swapchain); - ; + if (res != VK_SUCCESS) { return detail::Error{ SwapchainError::failed_create_swapchain, res }; }