Removed useless assert

This commit is contained in:
Sam Lantinga 2014-07-07 13:19:53 -07:00
parent fc4e798d79
commit a2d5dd0234

View File

@ -196,7 +196,6 @@ SDL_XINPUT_JoystickOpen(SDL_Joystick * joystick, JoyStick_DeviceData *joystickde
SDL_assert(s_bXInputEnabled); SDL_assert(s_bXInputEnabled);
SDL_assert(XINPUTGETCAPABILITIES); SDL_assert(XINPUTGETCAPABILITIES);
SDL_assert(XINPUTSETSTATE); SDL_assert(XINPUTSETSTATE);
SDL_assert(userId >= 0);
SDL_assert(userId < XUSER_MAX_COUNT); SDL_assert(userId < XUSER_MAX_COUNT);
joystick->hwdata->bXInputDevice = SDL_TRUE; joystick->hwdata->bXInputDevice = SDL_TRUE;