mirror of
https://github.com/NoelFB/blah.git
synced 2024-11-25 16:18:57 +08:00
fix update function name typo in emscripten
This commit is contained in:
parent
1b02339f63
commit
a0cccca457
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user