ndk: fix samples compilation
Change-Id: I3e0f88f823c891cea5ca3f82f7c3a6284295425c
This commit is contained in:
@@ -136,7 +136,7 @@ static int engine_do_ui_event(struct engine* engine) {
|
||||
if (AInputQueue_preDispatchEvent(engine->app->inputQueue, event)) {
|
||||
return 1;
|
||||
}
|
||||
if (AInputEvent_getType(event) == INPUT_EVENT_TYPE_MOTION) {
|
||||
if (AInputEvent_getType(event) == AINPUT_EVENT_TYPE_MOTION) {
|
||||
engine->animating = 1;
|
||||
engine->x = AMotionEvent_getX(event, 0);
|
||||
engine->y = AMotionEvent_getY(event, 0);
|
||||
|
||||
Reference in New Issue
Block a user