| 580 | } |
| 581 | |
| 582 | static void RunFrameInstance(int elapsedMsec) { |
| 583 | BE1::Engine::RunFrame(elapsedMsec); |
| 584 | |
| 585 | BE1::gameClient.Update(); |
| 586 | |
| 587 | #ifdef USE_ADMOB |
| 588 | AdMob::ProcessQueue(); |
| 589 | #endif |
| 590 | |
| 591 | app.Update(); |
| 592 | |
| 593 | app.mainRenderContext->Display(); |
| 594 | |
| 595 | BE1::gameClient.EndFrame(); |
| 596 | } |
| 597 | |
| 598 | // Process all pending events. |
| 599 | static bool ProcessEventLoop(android_app *appState) { |
no test coverage detected