update android project and link issue because previously removed the app_dummy

This commit is contained in:
2018-10-09 13:05:26 +02:00
parent b4c986d273
commit f3f22bdd85
3 changed files with 11 additions and 9 deletions

View File

@@ -941,6 +941,10 @@ static void engine_handle_cmd(struct android_app* app, int32_t cmd) {
void android_main(struct android_app* state) {
struct engine engine;
// Make sure glue isn't stripped.
// DON'T REMOVE, even if the compiler say it's deprecated
app_dummy();
memset(&engine, 0, sizeof(engine));
state->userData = &engine;
state->onAppCmd = engine_handle_cmd;