mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-21 14:50:44 +01:00
[ion] Fix the emscripten build
Change-Id: Ia54c5de4191c47d9840854d9aad12f87a9110da3
This commit is contained in:
@@ -19,7 +19,7 @@ Timer * RunLoop::timerAtIndex(int i) {
|
||||
|
||||
void RunLoop::run() {
|
||||
#ifdef __EMSCRIPTEN__
|
||||
emscripten_set_main_loop_arg([](void * ctx){ ((Container *)ctx)->step(); }, this, 0, 1);
|
||||
emscripten_set_main_loop_arg([](void * ctx){ ((RunLoop *)ctx)->step(); }, this, 0, 1);
|
||||
#else
|
||||
while(step()) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user