mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-10 22:22:10 +08:00
engine: remove inclusion of SDL headers globally, helps to cleanup code before SDL3 migration
This commit is contained in:
@@ -174,5 +174,10 @@ double Platform_DoubleTime( void )
|
||||
#endif
|
||||
return (double) ts.tv_sec + (double) ts.tv_nsec/1000000000.0;
|
||||
}
|
||||
|
||||
void Platform_Sleep( int msec )
|
||||
{
|
||||
usleep( msec * 1000 );
|
||||
}
|
||||
#endif // XASH_TIMER == TIMER_POSIX
|
||||
|
||||
|
||||
Reference in New Issue
Block a user