Skip to content
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.

Fix spelling mistakes #2

Merged
merged 1 commit into from Apr 8, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project/Common/VulkanCommon.cpp
Expand Up @@ -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 };
Expand Down
2 changes: 1 addition & 1 deletion Project/Tutorial02/Tutorial02.cpp
Expand Up @@ -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 };
Expand Down
2 changes: 1 addition & 1 deletion Project/Tutorial04/Tutorial04.cpp
Expand Up @@ -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;
}

Expand Down