mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-05 19:08:12 +00:00
Removed duplicate call to SDL_AssertJoysticksLocked()
This commit is contained in:
@@ -2321,8 +2321,6 @@ int SDL_SendJoystickButton(Uint64 timestamp, SDL_Joystick *joystick, Uint8 butto
|
||||
return 0;
|
||||
}
|
||||
|
||||
SDL_AssertJoysticksLocked();
|
||||
|
||||
/* Make sure we're not getting garbage or duplicate events */
|
||||
if (button >= joystick->nbuttons) {
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user