dmx: remove some #if 0'd code.
This commit is contained in:
parent
096117cf02
commit
00b4339168
|
@ -98,13 +98,8 @@ int ChangePointerDevice(DeviceIntPtr old_dev,
|
||||||
}
|
}
|
||||||
dmxLocalNew->savedMotionProc = new_dev->valuator->GetMotionProc;
|
dmxLocalNew->savedMotionProc = new_dev->valuator->GetMotionProc;
|
||||||
dmxLocalNew->savedMotionEvents = new_dev->valuator->numMotionEvents;
|
dmxLocalNew->savedMotionEvents = new_dev->valuator->numMotionEvents;
|
||||||
#if 00 /*BP*/
|
|
||||||
new_dev->valuator->GetMotionProc = miPointerGetMotionEvents;
|
|
||||||
new_dev->valuator->numMotionEvents = miPointerGetMotionBufferSize();
|
|
||||||
#else
|
|
||||||
new_dev->valuator->GetMotionProc = GetMotionHistory;
|
new_dev->valuator->GetMotionProc = GetMotionHistory;
|
||||||
new_dev->valuator->numMotionEvents = GetMaximumEventsNum();
|
new_dev->valuator->numMotionEvents = GetMaximumEventsNum();
|
||||||
#endif
|
|
||||||
/* Switch our notion of core pointer */
|
/* Switch our notion of core pointer */
|
||||||
dmxLocalOld->isCore = 0;
|
dmxLocalOld->isCore = 0;
|
||||||
dmxLocalOld->sendsCore = dmxLocalOld->savedSendsCore;
|
dmxLocalOld->sendsCore = dmxLocalOld->savedSendsCore;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user