improvements on fpc
This commit is contained in:
@@ -17,7 +17,6 @@ static void handle_cmd(struct android_app* app, int32_t cmd) {
|
||||
}
|
||||
}
|
||||
|
||||
// Entry point for native app
|
||||
void android_main(struct android_app* app) {
|
||||
app->onAppCmd = handle_cmd;
|
||||
|
||||
@@ -26,7 +25,6 @@ void android_main(struct android_app* app) {
|
||||
int events;
|
||||
struct android_poll_source* source;
|
||||
|
||||
// Main event loop
|
||||
while (1) {
|
||||
int ident;
|
||||
while ((ident = ALooper_pollOnce(0, NULL, &events, (void**)&source)) >= 0) {
|
||||
@@ -37,6 +35,5 @@ void android_main(struct android_app* app) {
|
||||
}
|
||||
}
|
||||
|
||||
// Here you can update your game/render loop
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user