Remove call to application getWindow before its finished construction
This commit is contained in:
@@ -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";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user