We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c25720 commit 4ac1a50Copy full SHA for 4ac1a50
code/osapi/osapi.cpp
@@ -486,16 +486,7 @@ bool os_foreground()
486
// Sleeps for n milliseconds or until app becomes active.
487
void os_sleep(uint ms)
488
{
489
-#ifdef __APPLE__
490
- // ewwww, I hate this!! SDL_Delay() is causing issues for us though and this
491
- // basically matches Apple examples of the same thing. Same as SDL_Delay() but
492
- // we aren't hitting up the system for anything during the process
493
- auto then = SDL_GetTicks() + ms;
494
-
495
- while (then > SDL_GetTicks());
496
-#else
497
SDL_Delay(ms);
498
-#endif
499
}
500
501
static bool file_exists(const SCP_string& path) {
0 commit comments