Merge commit '391dd0d94b625ae9f7edec2b7514a2f6ba9fb670' into main

This commit is contained in:
Sam Lantinga 2022-07-05 21:39:42 -07:00
commit 4615494f9d
1 changed files with 3 additions and 0 deletions

View File

@ -228,6 +228,9 @@ loop()
SDLTest_TextWindowDisplay(textwin, renderer);
SDL_RenderPresent(renderer);
/* Slow down framerate */
SDL_Delay(100);
#ifdef __EMSCRIPTEN__
if (done) {
emscripten_cancel_main_loop();