mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-24 21:41:23 +00:00
Port Sys_Sleep() to SDL
This commit is contained in:
parent
f1a7b426fe
commit
9101f2e5a0
1 changed files with 1 additions and 4 deletions
|
@ -143,11 +143,8 @@ void Sys_Printf( const char *msg, ... )id_attribute((format(printf,1,2)));
|
|||
void Sys_DebugPrintf( const char *fmt, ... )id_attribute((format(printf,1,2)));
|
||||
void Sys_DebugVPrintf( const char *fmt, va_list arg );
|
||||
|
||||
// a decent minimum sleep time to avoid going below the process scheduler speeds
|
||||
#define SYS_MINSLEEP 20
|
||||
|
||||
// allow game to yield CPU time
|
||||
// NOTE: due to SYS_MINSLEEP this is very bad portability karma, and should be completely removed
|
||||
// NOTE: due to SDL_TIMESLICE this is very bad portability karma, and should be completely removed
|
||||
void Sys_Sleep( int msec );
|
||||
|
||||
// Sys_Milliseconds should only be used for profiling purposes,
|
||||
|
|
Loading…
Reference in a new issue