Handle Vulkan / memory cleanup on shutdown for macOS benchmarking case

This commit is contained in:
Stephen Saunders 2022-07-19 09:59:48 -04:00
parent 7f5aa150d6
commit 46b2027dd1
2 changed files with 2 additions and 1 deletions

View file

@ -1259,7 +1259,7 @@ int main(const int argc, const char *argv[])
vulkanExample->setupWindow(nullptr);
vulkanExample->prepare();
vulkanExample->renderLoop();
//delete(vulkanExample); // SRS - vulkanExample deleted by AppDelegate termination event handler
delete(vulkanExample); // SRS - handle benchmarking case, normally deleted by applicationWillTerminate() event handler
}
return 0;
}