mirror of https://github.com/axmolengine/axmol.git
ccx : Trace accelerometer only when tracing rendering
This commit is contained in:
parent
a5f9b19c30
commit
7add86c751
|
@ -282,7 +282,7 @@ void android_main(struct android_app* state) {
|
|||
ASensorEvent event;
|
||||
while (ASensorEventQueue_getEvents(engine.sensorEventQueue,
|
||||
&event, 1) > 0) {
|
||||
LOGI("accelerometer: x=%f y=%f z=%f",
|
||||
LOG_RENDER_DEBUG("accelerometer: x=%f y=%f z=%f",
|
||||
event.acceleration.x, event.acceleration.y,
|
||||
event.acceleration.z);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue