Explorar o código

Merge commit '391dd0d94b625ae9f7edec2b7514a2f6ba9fb670' into main

Sam Lantinga %!s(int64=3) %!d(string=hai) anos
pai
achega
4615494f9d
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      test/checkkeys.c

+ 3 - 0
test/checkkeys.c

@@ -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();