mirror of
https://github.com/dhewm/dhewm3-sdk.git
synced 2024-11-22 04:31:15 +00:00
Port Sys_Milliseconds() to SDL
Sync with SDL and use unsigned int as return type. Code outside of sys/ still uses signed ints to store the result.
This commit is contained in:
parent
9101f2e5a0
commit
ae551ee106
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ void Sys_Sleep( int msec );
|
||||||
|
|
||||||
// Sys_Milliseconds should only be used for profiling purposes,
|
// Sys_Milliseconds should only be used for profiling purposes,
|
||||||
// any game related timing information should come from event timestamps
|
// any game related timing information should come from event timestamps
|
||||||
int Sys_Milliseconds( void );
|
unsigned int Sys_Milliseconds( void );
|
||||||
|
|
||||||
// for accurate performance testing
|
// for accurate performance testing
|
||||||
double Sys_GetClockTicks( void );
|
double Sys_GetClockTicks( void );
|
||||||
|
|
Loading…
Reference in a new issue