Resolve issues with release build.
This commit is contained in:
@@ -296,7 +296,9 @@ int main( int /*argc*/, char ** /*argv*/ )
|
||||
device.destroyCommandPool( commandPool );
|
||||
device.destroy();
|
||||
instance.destroySurfaceKHR( surfaceData.surface );
|
||||
#if !defined( NDEBUG )
|
||||
instance.destroyDebugUtilsMessengerEXT( debugUtilsMessenger );
|
||||
#endif
|
||||
instance.destroy();
|
||||
}
|
||||
catch ( vk::SystemError & err )
|
||||
|
||||
Reference in New Issue
Block a user