removing singleton attribute
This commit is contained in:
parent
5b4ae459ad
commit
620e4c0f8a
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue