1
0
Эх сурвалжийг харах

Removed an assertion it's possible to hit

Sam Lantinga 2 жил өмнө
parent
commit
61704b5862
1 өөрчлөгдсөн 0 нэмэгдсэн , 2 устгасан
  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;
     }