fix update function name typo in emscripten

This commit is contained in:
Noel Berry 2023-01-03 22:21:57 -08:00 committed by GitHub
parent 1b02339f63
commit a0cccca457
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,7 +157,7 @@ bool App::run(const Config* c)
// Begin main loop // Begin main loop
#ifdef __EMSCRIPTEN__ #ifdef __EMSCRIPTEN__
emscripten_set_main_loop(Internal::iterate, 0, 1); emscripten_set_main_loop(Internal::app_step, 0, 1);
#else #else
while (!app_is_exiting) while (!app_is_exiting)
Internal::app_step(); Internal::app_step();
@ -430,4 +430,4 @@ void System::open_url(const char* url)
{ {
BLAH_ASSERT_RUNNING(); BLAH_ASSERT_RUNNING();
Platform::open_url(url); Platform::open_url(url);
} }