mirror of
https://github.com/opus-tango/IntroductionToVulkan.git
synced 2026-03-20 03:55:26 +00:00
Fix spelling mistakes
This commit is contained in:
@@ -580,7 +580,7 @@ namespace Tutorial {
|
||||
|
||||
VkSurfaceFormatKHR VulkanCommon::GetSwapChainFormat( std::vector<VkSurfaceFormatKHR> &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 };
|
||||
|
||||
Reference in New Issue
Block a user