This commit is contained in:
Matthew Early 2022-10-13 11:23:53 -04:00 committed by Charles Giessen
parent 706ffb6355
commit c16de53814

View File

@ -234,7 +234,7 @@ Creating a swapchain follows the same form outlined by `vkb::InstanceBuilder` an
```cpp ```cpp
vkb::SwapchainBuilder swapchain_builder{ device }; vkb::SwapchainBuilder swapchain_builder{ device };
auto swap_ret = swapchain_builder.build (); auto swap_ret = swapchain_builder.build ();
if !(swap_ret){ if (!swap_ret){
} }
vkb::swapchain swapchain = swap_ret.value(); vkb::swapchain swapchain = swap_ret.value();