mirror of https://github.com/encounter/SDL.git
Merge commit '391dd0d94b625ae9f7edec2b7514a2f6ba9fb670' into main
This commit is contained in:
commit
4615494f9d
|
@ -228,6 +228,9 @@ loop()
|
||||||
SDLTest_TextWindowDisplay(textwin, renderer);
|
SDLTest_TextWindowDisplay(textwin, renderer);
|
||||||
SDL_RenderPresent(renderer);
|
SDL_RenderPresent(renderer);
|
||||||
|
|
||||||
|
/* Slow down framerate */
|
||||||
|
SDL_Delay(100);
|
||||||
|
|
||||||
#ifdef __EMSCRIPTEN__
|
#ifdef __EMSCRIPTEN__
|
||||||
if (done) {
|
if (done) {
|
||||||
emscripten_cancel_main_loop();
|
emscripten_cancel_main_loop();
|
||||||
|
|
Loading…
Reference in New Issue