Fixed spelling mistakes.

Fixed spelling mistakes.
This commit is contained in:
Pawel Lapinski
2016-04-08 08:01:10 +02:00
3 changed files with 3 additions and 3 deletions

View File

@@ -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 };

View File

@@ -526,7 +526,7 @@ namespace Tutorial {
VkSurfaceFormatKHR Tutorial02::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 };

View File

@@ -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;
}