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/emscripten_fs_api_browser.cpp | |
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/emscripten_fs_api_browser.cpp')
-rw-r--r-- | tests/emscripten_fs_api_browser.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/emscripten_fs_api_browser.cpp b/tests/emscripten_fs_api_browser.cpp index 7757ef8a..a2a82160 100644 --- a/tests/emscripten_fs_api_browser.cpp +++ b/tests/emscripten_fs_api_browser.cpp @@ -69,7 +69,7 @@ int main() { onLoaded, onError); - emscripten_set_main_loop(wait_wgets, 0); + emscripten_set_main_loop(wait_wgets, 0, 0); return 0; } |