mirror of
https://github.com/encounter/SDL.git
synced 2025-12-11 14:41:56 +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