tmp
This commit is contained in:
parent
29280949a8
commit
752243c7e9
7 changed files with 40 additions and 40 deletions
|
|
@ -1,6 +1,5 @@
|
|||
|
||||
#include "GraphicApplication.hpp"
|
||||
|
||||
#include "imgui.h"
|
||||
|
||||
using namespace tp;
|
||||
|
|
@ -22,6 +21,18 @@ public:
|
|||
};
|
||||
|
||||
int main() {
|
||||
ExampleApplication app;
|
||||
app.run();
|
||||
|
||||
ModuleManifest* deps[] = { &gModuleGraphics, nullptr };
|
||||
ModuleManifest module("Eample", nullptr, nullptr, deps);
|
||||
|
||||
if (!module.initialize()) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
{
|
||||
ExampleApplication app;
|
||||
app.run();
|
||||
}
|
||||
|
||||
module.deinitialize();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue