removing singleton attribute
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user