Revert changes
This commit is contained in:
parent
0de07cc814
commit
f93f7d17c2
|
|
@ -1654,14 +1654,6 @@ int InitPlatform(void)
|
||||||
{
|
{
|
||||||
if (glfwJoystickPresent(i)) strcpy(CORE.Input.Gamepad.name[i], glfwGetJoystickName(i));
|
if (glfwJoystickPresent(i)) strcpy(CORE.Input.Gamepad.name[i], glfwGetJoystickName(i));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Initialize mouse positions:
|
|
||||||
double xpos, ypos;
|
|
||||||
glfwGetCursorPos(platform.handle, &xpos, &ypos);
|
|
||||||
CORE.Input.Mouse.previousPosition.x = (float)xpos;
|
|
||||||
CORE.Input.Mouse.previousPosition.y = (float)ypos;
|
|
||||||
CORE.Input.Mouse.currentPosition.x = (float)xpos;
|
|
||||||
CORE.Input.Mouse.currentPosition.y = (float)ypos;
|
|
||||||
//----------------------------------------------------------------------------
|
//----------------------------------------------------------------------------
|
||||||
|
|
||||||
// Initialize timming system
|
// Initialize timming system
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user