mirror of https://github.com/libsdl-org/SDL
Removed an assertion it's possible to hit
This commit is contained in:
parent
c24b33d8d9
commit
61704b5862
|
@ -967,8 +967,6 @@ static void HandleGamepadAdded(SDL_JoystickID id, SDL_bool verbose)
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
i = FindController(id);
|
i = FindController(id);
|
||||||
|
|
||||||
SDL_assert(i >= 0);
|
|
||||||
if (i < 0) {
|
if (i < 0) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue