Added missing loop cancel for Emscripten in test programs.
This commit is contained in:
1 parent
ac10a2f29d
commit
2c4ad51d44
18 files changed
+97
No files matched your search
@@ -257,6 +257,11 @@ loop()
|
||||
|
||||
SDL_RenderPresent(renderer);
|
||||
}
|
||||
#ifdef __EMSCRIPTEN__
|
||||
if (done) {
|
||||
emscripten_cancel_main_loop();
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
int
|
||||
|
||||
Reference in new issue
Block a user