aboutsummaryrefslogtreecommitdiff
path: root/tests/sdl_quit.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/sdl_quit.c')
-rw-r--r--tests/sdl_quit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sdl_quit.c b/tests/sdl_quit.c
index 1a07526f..3d98c15c 100644
--- a/tests/sdl_quit.c
+++ b/tests/sdl_quit.c
@@ -26,7 +26,7 @@ int main() {
SDL_Init(SDL_INIT_VIDEO);
SDL_Surface *screen = SDL_SetVideoMode(600, 450, 32, SDL_HWSURFACE);
- emscripten_set_main_loop(one, 0);
+ emscripten_set_main_loop(one, 0, 0);
emscripten_run_script("setTimeout(function() { window.close() }, 2000)");
}