Remove const
This commit is contained in:
parent
0c07eca9dc
commit
0de07cc814
|
|
@ -1656,7 +1656,7 @@ int InitPlatform(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Initialize mouse positions:
|
// Initialize mouse positions:
|
||||||
const double xpos, ypos;
|
double xpos, ypos;
|
||||||
glfwGetCursorPos(platform.handle, &xpos, &ypos);
|
glfwGetCursorPos(platform.handle, &xpos, &ypos);
|
||||||
CORE.Input.Mouse.previousPosition.x = (float)xpos;
|
CORE.Input.Mouse.previousPosition.x = (float)xpos;
|
||||||
CORE.Input.Mouse.previousPosition.y = (float)ypos;
|
CORE.Input.Mouse.previousPosition.y = (float)ypos;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user