mirror of https://github.com/axmolengine/axmol.git
Fix: on android, Device::setAccelerometerInterval will causes dead loop
This commit is contained in:
parent
4582686860
commit
7c5784005c
|
@ -28,7 +28,7 @@ void Device::setAccelerometerEnabled(bool isEnabled)
|
|||
|
||||
void Device::setAccelerometerInterval(float interval)
|
||||
{
|
||||
setAccelerometerInterval(interval);
|
||||
::setAccelerometerInterval(interval);
|
||||
}
|
||||
|
||||
NS_CC_END
|
||||
|
|
Loading…
Reference in New Issue