Browse Source

Removed an assertion it's possible to hit

Sam Lantinga 1 year ago
parent
commit
61704b5862
1 changed files with 0 additions and 2 deletions
  1. 0 2
      test/testcontroller.c

+ 0 - 2
test/testcontroller.c

@@ -967,8 +967,6 @@ static void HandleGamepadAdded(SDL_JoystickID id, SDL_bool verbose)
     int i;
 
     i = FindController(id);
-
-    SDL_assert(i >= 0);
     if (i < 0) {
         return;
     }