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

@@ -187,7 +187,9 @@ int main( int /*argc*/, char ** /*argv*/ )
/* VULKAN_HPP_KEY_END */
device.destroy();
#if !defined( NDEBUG )
instance.destroyDebugUtilsMessengerEXT( debugUtilsMessenger );
#endif
instance.destroy();
}
catch ( vk::SystemError & err )