diff --git a/src/blah_app.cpp b/src/blah_app.cpp index a2ca779..0e4e1aa 100644 --- a/src/blah_app.cpp +++ b/src/blah_app.cpp @@ -157,7 +157,7 @@ bool App::run(const Config* c) // Begin main loop #ifdef __EMSCRIPTEN__ - emscripten_set_main_loop(Internal::iterate, 0, 1); + emscripten_set_main_loop(Internal::app_step, 0, 1); #else while (!app_is_exiting) Internal::app_step(); @@ -430,4 +430,4 @@ void System::open_url(const char* url) { BLAH_ASSERT_RUNNING(); Platform::open_url(url); -} \ No newline at end of file +}