Browse Source

Fix Input init

master
Riyyi 4 years ago
parent
commit
716c68b166
  1. 4
      inferno/src/inferno/application.cpp

4
inferno/src/inferno/application.cpp

@ -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");

Loading…
Cancel
Save