Browse Source

Remove call to application getWindow before its finished construction

master
Riyyi 4 years ago
parent
commit
3583c2994b
  1. 4
      inferno/src/inferno/io/input.cpp

4
inferno/src/inferno/io/input.cpp

@ -16,10 +16,6 @@ namespace Inferno {
void Input::initialize()
{
// Set cursor in the middle of the screen
m_xPosLast = Application::the().getWindow().getWidth() / 2.0f;
m_yPosLast = Application::the().getWindow().getHeight() / 2.0f;
info() << "Input initialized";
}

Loading…
Cancel
Save