- fixed: screen->FrameTime should use an adjusted frame start time
This commit is contained in:
parent
29d2d8b3f8
commit
a29d9e157c
3 changed files with 9 additions and 1 deletions
|
|
@ -164,6 +164,11 @@ uint64_t I_msTime()
|
|||
return NSToMS(I_nsTime());
|
||||
}
|
||||
|
||||
uint64_t I_msTimeFS() // from "start"
|
||||
{
|
||||
return NSToMS(I_nsTime() - FirstFrameStartTime);
|
||||
}
|
||||
|
||||
int I_GetTime()
|
||||
{
|
||||
return NSToTic(CurrentFrameStartTime - FirstFrameStartTime);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue