diff options
author | Alon Zakai <alonzakai@gmail.com> | 2012-10-13 10:06:33 -0700 |
---|---|---|
committer | Alon Zakai <alonzakai@gmail.com> | 2012-10-13 10:06:33 -0700 |
commit | 45ba35aa01f1650ed28479976262236bbf204ef1 (patch) | |
tree | a45ef1240a00776b9fd0b0b9b1a89b877848b474 /tests/enet_server.c | |
parent | 3a156a34e83fa301b8abbac6effdb5bd21d9be11 (diff) |
add parameter to emscripten_set_main_loop to optionally simulate an infinite loop by throwing an exception (like glutMainLoop)
Diffstat (limited to 'tests/enet_server.c')
-rw-r--r-- | tests/enet_server.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/enet_server.c b/tests/enet_server.c index f43d511d..68fe8e86 100644 --- a/tests/enet_server.c +++ b/tests/enet_server.c @@ -92,7 +92,7 @@ int main (int argc, char ** argv) exit (EXIT_FAILURE); } - emscripten_set_main_loop(main_loop, 1); + emscripten_set_main_loop(main_loop, 1, 1); return 1; } |