Move example code

This commit is contained in:
2023-11-26 23:56:55 +01:00
parent 9d53047f94
commit e02af126ee
4 changed files with 3 additions and 3 deletions

19
examples/main.cpp Normal file
View File

@@ -0,0 +1,19 @@
/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
#include "Host/GraphicsAppManager.hpp"
#include "Base/EngineConfiguration.hpp"
#include "ExampleApps/CubesExampleApp.hpp"
using namespace OpenVulkano;
int main(int argc, char** argv)
{
std::unique_ptr<IGraphicsApp> app = CubesExampleApp::CreateUnique();
GraphicsAppManager manager(app.get());
manager.Run();
return 0;
}