removing singleton attribute

This commit is contained in:
SweetId 2023-10-11 20:28:40 -04:00
parent 5b4ae459ad
commit 620e4c0f8a
2 changed files with 0 additions and 3 deletions

View File

@ -50,7 +50,6 @@ namespace Nz
std::vector<std::unique_ptr<Nz::EditorWindow>> m_windows;
std::vector<std::unique_ptr<EditorAction>> m_actions;
static EditorBaseApplication* s_instance;
Nz::Level m_level;
};
}

View File

@ -5,8 +5,6 @@ namespace Nz
EditorBaseApplication::EditorBaseApplication()
: m_level(this)
{
s_instance = this;
auto& windowing = AddComponent<Nz::AppWindowingComponent>();
std::shared_ptr<Nz::RenderDevice> device = Nz::Graphics::Instance()->GetRenderDevice();