From 3583c2994bb0bedc0a5e1acdc90142a646260228 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Sat, 13 Feb 2021 16:42:15 +0100 Subject: [PATCH] Remove call to application getWindow before its finished construction --- inferno/src/inferno/io/input.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/inferno/src/inferno/io/input.cpp b/inferno/src/inferno/io/input.cpp index 33e587b..aaf6909 100644 --- a/inferno/src/inferno/io/input.cpp +++ b/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"; }