Skip to content

Commit

Permalink
Fixed windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Dec 22, 2019
1 parent d004cc7 commit d000a59
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/joystick/windows/SDL_xinputjoystick.c
Expand Up @@ -344,8 +344,6 @@ SDL_XINPUT_JoystickOpen(SDL_Joystick * joystick, JoyStick_DeviceData *joystickde
SDL_assert(XINPUTSETSTATE);
SDL_assert(userId < XUSER_MAX_COUNT);

joystick->player_index = userId;

joystick->hwdata->bXInputDevice = SDL_TRUE;

if (XINPUTGETCAPABILITIES(userId, XINPUT_FLAG_GAMEPAD, &capabilities) != ERROR_SUCCESS) {
Expand Down

0 comments on commit d000a59

Please sign in to comment.