ndk: fix samples compilation

Change-Id: I3e0f88f823c891cea5ca3f82f7c3a6284295425c
This commit is contained in:
David 'Digit' Turner
2010-07-16 14:52:50 -07:00
parent 6d0ef0df98
commit ad77ed7d47
4 changed files with 8 additions and 6 deletions

View File

@@ -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);