Remove call to application getWindow before its finished construction

This commit is contained in:
Riyyi
2021-02-13 16:42:15 +01:00
parent c1ae98c659
commit 3583c2994b
-4
View File
@@ -16,10 +16,6 @@ namespace Inferno {
void Input::initialize() 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"; info() << "Input initialized";
} }