Update utils.cpp (#1625)

This commit is contained in:
Codotaku 2023-07-19 14:33:22 +01:00 committed by GitHub
parent d8cd233010
commit ce1aacec06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -365,12 +365,12 @@ namespace vk
if ( pCallbackData->messageIdNumber == 648835635 ) if ( pCallbackData->messageIdNumber == 648835635 )
{ {
// UNASSIGNED-khronos-Validation-debug-build-warning-message // UNASSIGNED-khronos-Validation-debug-build-warning-message
return VK_FALSE; return vk::False;
} }
if ( pCallbackData->messageIdNumber == 767975156 ) if ( pCallbackData->messageIdNumber == 767975156 )
{ {
// UNASSIGNED-BestPractices-vkCreateInstance-specialuse-extension // UNASSIGNED-BestPractices-vkCreateInstance-specialuse-extension
return VK_FALSE; return vk::False;
} }
#endif #endif
@ -410,7 +410,7 @@ namespace vk
} }
} }
} }
return VK_TRUE; return vk::False;
} }
uint32_t findGraphicsQueueFamilyIndex( std::vector<vk::QueueFamilyProperties> const & queueFamilyProperties ) uint32_t findGraphicsQueueFamilyIndex( std::vector<vk::QueueFamilyProperties> const & queueFamilyProperties )