Resolve issues with release build.

This commit is contained in:
asuessenbach
2021-05-25 16:14:56 +02:00
parent 5fe7d29f90
commit cb87566cdd
46 changed files with 164 additions and 48 deletions

View File

@@ -153,7 +153,9 @@ int main( int /*argc*/, char ** /*argv*/ )
vk::DebugUtilsMessengerEXT debugUtilsMessenger = instance.createDebugUtilsMessengerEXT(
vk::DebugUtilsMessengerCreateInfoEXT( {}, severityFlags, messageTypeFlags, &debugMessageFunc ) );
#if !defined( NDEBUG )
instance.destroyDebugUtilsMessengerEXT( debugUtilsMessenger );
#endif
instance.destroy();
/* VULKAN_KEY_END */