diff --git a/Project/Common/VulkanCommon.cpp b/Project/Common/VulkanCommon.cpp index feb5602..fb4e38d 100644 --- a/Project/Common/VulkanCommon.cpp +++ b/Project/Common/VulkanCommon.cpp @@ -580,7 +580,7 @@ namespace Tutorial { VkSurfaceFormatKHR VulkanCommon::GetSwapChainFormat( std::vector &surface_formats ) { // If the list contains only one entry with undefined format - // it mean that there are no preferred surface formats and any can be choosen + // it means that there are no preferred surface formats and any can be chosen if( (surface_formats.size() == 1) && (surface_formats[0].format == VK_FORMAT_UNDEFINED) ) { return{ VK_FORMAT_R8G8B8A8_UNORM, VK_COLORSPACE_SRGB_NONLINEAR_KHR }; diff --git a/Project/Tutorial02/Tutorial02.cpp b/Project/Tutorial02/Tutorial02.cpp index ac3c687..ce85eb7 100644 --- a/Project/Tutorial02/Tutorial02.cpp +++ b/Project/Tutorial02/Tutorial02.cpp @@ -526,7 +526,7 @@ namespace Tutorial { VkSurfaceFormatKHR Tutorial02::GetSwapChainFormat( std::vector &surface_formats ) { // If the list contains only one entry with undefined format - // it mean that there are no preferred surface formats and any can be choosen + // it means that there are no preferred surface formats and any can be chosen if( (surface_formats.size() == 1) && (surface_formats[0].format == VK_FORMAT_UNDEFINED) ) { return{ VK_FORMAT_R8G8B8A8_UNORM, VK_COLORSPACE_SRGB_NONLINEAR_KHR }; diff --git a/Project/Tutorial04/Tutorial04.cpp b/Project/Tutorial04/Tutorial04.cpp index 1eff721..d31d8ee 100644 --- a/Project/Tutorial04/Tutorial04.cpp +++ b/Project/Tutorial04/Tutorial04.cpp @@ -550,7 +550,7 @@ namespace Tutorial { }; if( vkQueueSubmit( GetGraphicsQueue().Handle, 1, &submit_rendering_info, VK_NULL_HANDLE ) != VK_SUCCESS ) { - printf( "Error occured during submition of command buffer with vertex buffer barrier!!\n" ); + printf( "Error occurred during submission of command buffer with vertex buffer barrier!!\n" ); return false; }