Fix Class typo in getting stared

This commit is contained in:
Klark007 2024-09-14 10:26:55 +02:00 committed by Charles Giessen
parent caadcc5ff6
commit c710f245ff

View File

@ -268,7 +268,7 @@ auto swap_ret = swapchain_builder.build ();
if (!swap_ret){
}
vkb::swapchain swapchain = swap_ret.value();
vkb::Swapchain swapchain = swap_ret.value();
```
By default, the swapchain will use the VK_FORMAT_B8G8R8A8_SRGB or VK_FORMAT_R8G8B8A8_SRGB image format with the color space VK_COLOR_SPACE_SRGB_NONLINEAR_KHR. The present mode will default to VK_PRESENT_MODE_MAILBOX_KHR if available and fallback to VK_PRESENT_MODE_FIFO_KHR. The image usage default flag is VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT.