Skip to content

Commit 86f188e

Browse files
committed
emsc: fix build
1 parent d740499 commit 86f188e

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/ruisapp/glue/sdl/glue.cxx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -676,7 +676,10 @@ void main_loop_iteration(void* user_data)
676676
// - render
677677
// - wait for events and handle them/next cycle
678678

679-
auto to_wait_ms = app->gui.update();
679+
#if CFG_OS_NAME != CFG_OS_NAME_EMSCRIPTEN
680+
auto to_wait_ms =
681+
#endif
682+
app->gui.update();
680683

681684
render(*app);
682685

0 commit comments

Comments
 (0)