mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 03:33:48 +00:00
Fix macro token pasting errors when compiling with clang-cl
This commit is contained in:
parent
74a05854d5
commit
6040a8d855
4 changed files with 6 additions and 6 deletions
|
|
@ -450,7 +450,7 @@ int DInputManager::getXInputState(S32 controllerID, S32 property, bool current)
|
|||
switch(property)
|
||||
{
|
||||
#define CHECK_PROP_ANALOG(prop, stateTest) \
|
||||
case prop: (current) ? retVal = mXInputStateNew[controllerID].state.Gamepad.##stateTest : retVal = mXInputStateOld[controllerID].state.Gamepad.##stateTest; return retVal;
|
||||
case prop: (current) ? retVal = mXInputStateNew[controllerID].state.Gamepad.stateTest : retVal = mXInputStateOld[controllerID].state.Gamepad.stateTest; return retVal;
|
||||
|
||||
CHECK_PROP_ANALOG(XI_THUMBLX, sThumbLX)
|
||||
CHECK_PROP_ANALOG(XI_THUMBLY, sThumbLY)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue