mirror of
https://github.com/encounter/SDL.git
synced 2025-12-12 06:45:10 +00:00
windows: Fixed some Visual Studio warnings about shadowed variables.
Fixes Bugzilla #4118.
This commit is contained in:
@@ -366,10 +366,7 @@ SDL_SYS_JoystickUpdate(SDL_Joystick * joystick)
|
||||
|
||||
/* joystick hat events */
|
||||
if (joyinfo.dwFlags & JOY_RETURNPOV) {
|
||||
Uint8 pos;
|
||||
|
||||
pos = TranslatePOV(joyinfo.dwPOV);
|
||||
SDL_PrivateJoystickHat(joystick, 0, pos);
|
||||
SDL_PrivateJoystickHat(joystick, 0, TranslatePOV(joyinfo.dwPOV));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user