Fix Input init

This commit is contained in:
Riyyi
2021-01-02 23:19:39 +01:00
parent 0ae8016e5f
commit 716c68b166
+3 -1
View File
@@ -25,12 +25,14 @@ namespace Inferno {
s_instance = this;
// Initialize
Settings::initialize();
Input::initialize();
m_window = std::make_unique<Window>();
m_window->setEventCallback(NF_BIND_EVENT(Application::onEvent));
Input::initialize();
TextureManager textureManager;
m_texture = textureManager.load("assets/gfx/test.png");