mirror of
https://github.com/yawut/SDL.git
synced 2026-04-25 07:52:57 -05:00
Fixed build on Apple TV
This commit is contained in:
parent
8ba3ebfa14
commit
82adccc15e
|
|
@ -553,7 +553,7 @@ SDL_SYS_MFIJoystickUpdate(SDL_Joystick * joystick)
|
|||
};
|
||||
|
||||
for (i = 0; i < SDL_arraysize(axes); i++) {
|
||||
updateplayerindex |= (joystick->axes[i] != axes[i]);
|
||||
updateplayerindex |= (joystick->axes[i].value != axes[i]);
|
||||
SDL_PrivateJoystickAxis(joystick, i, axes[i]);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user