From 716c68b1665ec1afab3ba69563c5cf0297e65934 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Sat, 2 Jan 2021 23:19:39 +0100 Subject: [PATCH] Fix Input init --- inferno/src/inferno/application.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/inferno/src/inferno/application.cpp b/inferno/src/inferno/application.cpp index 2b73c11..337f7e0 100644 --- a/inferno/src/inferno/application.cpp +++ b/inferno/src/inferno/application.cpp @@ -25,12 +25,14 @@ namespace Inferno { s_instance = this; // Initialize + Settings::initialize(); - Input::initialize(); m_window = std::make_unique(); m_window->setEventCallback(NF_BIND_EVENT(Application::onEvent)); + Input::initialize(); + TextureManager textureManager; m_texture = textureManager.load("assets/gfx/test.png");