From c710f245ffd55a49ac698f3dbf41aababfd51f12 Mon Sep 17 00:00:00 2001 From: Klark007 Date: Sat, 14 Sep 2024 10:26:55 +0200 Subject: [PATCH] Fix Class typo in getting stared --- docs/getting_started.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/getting_started.md b/docs/getting_started.md index 2e182e9..9ea761d 100644 --- a/docs/getting_started.md +++ b/docs/getting_started.md @@ -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.