Skip to content
Permalink
Browse files

Added missing loop cancel for Emscripten in test programs.

  • Loading branch information
philippwiesemann committed May 18, 2015
1 parent ac10a2f commit 2c4ad51d44c15c45135cd5b6ff32b2a7e1f24bf7

File 6 of 18 in 2c4ad51

@@ -466,6 +466,11 @@ void loop()
SDL_GL_SwapWindow(state->windows[i]);
}
}
#ifdef __EMSCRIPTEN__
else {
emscripten_cancel_main_loop();
}
#endif
}

int

0 comments on commit 2c4ad51

Please sign in to comment.