Removing Instance() call

This commit is contained in:
SweetId 2023-10-08 22:33:22 -04:00
parent db5e70a27f
commit d04860ed4b
1 changed files with 4 additions and 1 deletions

View File

@ -25,7 +25,10 @@ int WinMain(int argc, char* argv[])
NazaraUnused(argc);
NazaraUnused(argv);
Nz::EditorApplication& app = Nz::EditorApplication::Instance();
EditorApplication app;
ImGui::EnsureContextOnThisThread();
app.RegisterWindow<Nz::EditorMainWindow>();
app.RegisterWindow<Nz::EditorAssetsWindow>();
app.RegisterWindow<Nz::EditorLevelWindow>();