Cleanup for GraphicsAppManager

This commit is contained in:
2020-10-23 11:22:33 +02:00
parent ac09635fd7
commit 30dd4f255c
3 changed files with 10 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ int main(int argc, char** argv)
const auto cubesApp = CubesExampleApp::Create();
int threads = 4;
openVulkanoCpp::EngineConfiguration::GetEngineConfiguration()->SetNumThreads(threads);
openVulkanoCpp::IGraphicsAppManager* manager = new openVulkanoCpp::GraphicsAppManager(cubesApp.get());
manager->Run();
openVulkanoCpp::GraphicsAppManager manager(cubesApp.get());
manager.Run();
return 0;
}