Minor cleanup in utils.cpp: remove helper function createDebugUtilsMessengerEXT.

This commit is contained in:
asuessenbach
2022-08-04 08:49:12 +02:00
parent 07ebd7dbaf
commit 2611c34aa5
2 changed files with 1 additions and 6 deletions

View File

@@ -39,7 +39,7 @@ int main( int /*argc*/, char ** /*argv*/ )
{
vk::Instance instance = vk::su::createInstance( AppName, EngineName );
#if !defined( NDEBUG )
vk::DebugUtilsMessengerEXT debugUtilsMessenger = vk::su::createDebugUtilsMessengerEXT( instance );
vk::DebugUtilsMessengerEXT debugUtilsMessenger = instance.createDebugUtilsMessengerEXT( vk::su::makeDebugUtilsMessengerCreateInfoEXT() );
#endif
/* VULKAN_HPP_KEY_START */