mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-11 07:37:52 +00:00
Fix high CPU load on Linux
This commit is contained in:
parent
415e517107
commit
7d37ff33aa
@ -204,7 +204,7 @@ void Sys_Sleep( int msec )
|
||||
Sleep( msec );
|
||||
#elif XASH_TIMER == TIMER_SDL
|
||||
SDL_Delay( msec );
|
||||
#elif XASH_TIEMR == TIMER_LINUX
|
||||
#elif XASH_TIMER == TIMER_LINUX
|
||||
usleep( msec * 1000 );
|
||||
#endif
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user