WARNING: Not updating mouse.previousPosition when SeMousePosition() #5962

This could be a sensible change, not sure if it can break anything...
This commit is contained in:
Ray 2026-07-13 19:32:30 +02:00
commit 4640c84920
9 changed files with 2 additions and 10 deletions

View file

@ -1042,7 +1042,6 @@ void SetGamepadVibration(int gamepad, float leftMotor, float rightMotor, float d
void SetMousePosition(int x, int y)
{
CORE.Input.Mouse.currentPosition = (Vector2){ (float)x, (float)y };
CORE.Input.Mouse.previousPosition = CORE.Input.Mouse.currentPosition;
}
// Set mouse cursor