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_client.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_client.c')
-rw-r--r-- | tests/enet_client.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/enet_client.c b/tests/enet_client.c index 6eb088a3..461472b8 100644 --- a/tests/enet_client.c +++ b/tests/enet_client.c @@ -94,7 +94,7 @@ int main (int argc, char ** argv) "console.log('added.');"); #endif - emscripten_set_main_loop(main_loop, 1); + emscripten_set_main_loop(main_loop, 1, 1); return 1; } |