diff --git a/android/src/main/cpp/main.cpp b/android/src/main/cpp/main.cpp index 6cdb76b..285111d 100755 --- a/android/src/main/cpp/main.cpp +++ b/android/src/main/cpp/main.cpp @@ -667,6 +667,9 @@ static int engine_init_display(struct engine* engine) { //LOG("PROP: %s", os_props[""].c_str()); // Initialize GL state. + + android_async_lock(engine); + //glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_FASTEST); //glEnable(GL_CULL_FACE); //glShadeModel(GL_SMOOTH); @@ -690,6 +693,7 @@ static int engine_init_display(struct engine* engine) { LOG("All ready"); engine->animating = 1; + android_async_unlock(engine); return 0; } diff --git a/data/layout.xml b/data/layout.xml index 1ccd02b..678d3f9 100644 --- a/data/layout.xml +++ b/data/layout.xml @@ -1523,17 +1523,6 @@ Here's a list of what's available in this release. -