mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
uninitialized variables-platform
(cherry picked from commit 36fd324de7a29a8f4bb84b7622ae925acb1d3760)
This commit is contained in:
parent
bfcc83638d
commit
bd8a72005e
7 changed files with 17 additions and 6 deletions
|
|
@ -47,6 +47,13 @@ DInputManager::DInputManager()
|
|||
mJoystickActive = mXInputActive = true;
|
||||
mXInputLib = NULL;
|
||||
|
||||
mfnXInputGetState = NULL;
|
||||
mfnXInputSetState = NULL;
|
||||
dMemset(mXInputStateOld, 0, sizeof(mXInputStateOld));
|
||||
dMemset(mXInputStateNew, 0, sizeof(mXInputStateNew));
|
||||
mXInputStateReset = false;
|
||||
mXInputDeadZoneOn = true;
|
||||
|
||||
for(S32 i=0; i<4; i++)
|
||||
mLastDisconnectTime[i] = -1;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue