Reduce CPU usage in testgamecontroller

This commit is contained in:
Sam Lantinga 2022-04-29 20:57:00 -07:00
parent 9e5cbf034a
commit 0687128c96
1 changed files with 1 additions and 1 deletions

View File

@ -508,7 +508,7 @@ loop(void *arg)
} }
} }
} }
SDL_Delay(16);
SDL_RenderPresent(screen); SDL_RenderPresent(screen);
#ifdef __EMSCRIPTEN__ #ifdef __EMSCRIPTEN__