mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-27 04:00:42 +00:00
- removed unused I_GetBuildTimeFrac function.
This commit is contained in:
parent
c712b84889
commit
ba22df2a2a
2 changed files with 0 additions and 10 deletions
|
@ -185,15 +185,6 @@ double I_GetTimeFrac()
|
|||
return (CurrentFrameStartTime - ticStartTime) / (double)(ticNextTime - ticStartTime);
|
||||
}
|
||||
|
||||
double I_GetBuildTimeFrac()
|
||||
{
|
||||
int currentTic = NSToBuildTic(CurrentFrameStartTime - FirstFrameStartTime);
|
||||
uint64_t ticStartTime = FirstFrameStartTime + BuildTicToNS(currentTic);
|
||||
uint64_t ticNextTime = FirstFrameStartTime + BuildTicToNS(currentTic + 1);
|
||||
|
||||
return (CurrentFrameStartTime - ticStartTime) / (double)(ticNextTime - ticStartTime);
|
||||
}
|
||||
|
||||
void I_FreezeTime(bool frozen)
|
||||
{
|
||||
if (frozen)
|
||||
|
|
|
@ -17,7 +17,6 @@ uint64_t I_GetTimeNS();
|
|||
int I_GetBuildTime();
|
||||
|
||||
double I_GetTimeFrac();
|
||||
double I_GetBuildTimeFrac();
|
||||
|
||||
// like I_GetTime, except it waits for a new tic before returning
|
||||
int I_WaitForTic(int);
|
||||
|
|
Loading…
Reference in a new issue