소스 검색

Removed duplicate call to SDL_AssertJoysticksLocked()

Sam Lantinga 1 년 전
부모
커밋
3ec19b2a89
1개의 변경된 파일0개의 추가작업 그리고 2개의 파일을 삭제
  1. 0 2
      src/joystick/SDL_joystick.c

+ 0 - 2
src/joystick/SDL_joystick.c

@@ -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;