[rcore_desktop_rgfw] [emscripten] fix typo
This commit is contained in:
parent
5e666e2f8d
commit
f3a647426b
|
|
@ -1469,13 +1469,13 @@ void PollInputEvents(void)
|
|||
#endif
|
||||
if (RGFW_window_isCaptured(platform.window))
|
||||
{
|
||||
CORE.Input.Mouse.currentPosition.x += event_x;
|
||||
CORE.Input.Mouse.currentPosition.y += event_y;
|
||||
CORE.Input.Mouse.currentPosition.x += mouseX;
|
||||
CORE.Input.Mouse.currentPosition.y += mouseY;
|
||||
}
|
||||
else
|
||||
{
|
||||
CORE.Input.Mouse.currentPosition.x = event_x;
|
||||
CORE.Input.Mouse.currentPosition.y = event_y;
|
||||
CORE.Input.Mouse.currentPosition.x = mouseX;
|
||||
CORE.Input.Mouse.currentPosition.y = mouseY;
|
||||
}
|
||||
|
||||
CORE.Input.Touch.position[0] = CORE.Input.Mouse.currentPosition;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user