mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-11 14:38:24 +02:00
SDL_PrivateJoystickForceRecentering(): fix infinite loop
(cherry picked from commit b5ef75249f)
This commit is contained in:
committed by
Sam Lantinga
parent
2503d34724
commit
212f7539cb
@@ -2429,7 +2429,7 @@ bool SDL_IsJoystickBeingAdded(void)
|
||||
|
||||
void SDL_PrivateJoystickForceRecentering(SDL_Joystick *joystick)
|
||||
{
|
||||
Uint8 i, j;
|
||||
int i, j;
|
||||
Uint64 timestamp = SDL_GetTicksNS();
|
||||
|
||||
SDL_AssertJoysticksLocked();
|
||||
|
||||
Reference in New Issue
Block a user