mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-27 21:48:29 +00:00
Fixed compile errors on various platforms
This commit is contained in:
@@ -197,7 +197,7 @@ extern "C"
|
||||
|
||||
/* Generate axis motion events */
|
||||
for (i = 0; i < joystick->naxes; ++i) {
|
||||
change = ((int32) axes[i] - joystick->axes[i]);
|
||||
change = ((int32) axes[i] - joystick->axes[i].value);
|
||||
if ((change > JITTER) || (change < -JITTER)) {
|
||||
SDL_PrivateJoystickAxis(joystick, i, axes[i]);
|
||||
}
|
||||
|
Reference in New Issue
Block a user