mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-26 00:34:35 +00:00
fix if
This commit is contained in:
parent
706ffb6355
commit
c16de53814
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user