REVIEWED: GetTime(), make it consistent between platforms, consider window initialization base time
This commit is contained in:
parent
29280971be
commit
1d9e24eb58
7 changed files with 19 additions and 17 deletions
|
|
@ -986,6 +986,7 @@ void SwapScreenBuffer(void)
|
|||
double GetTime(void)
|
||||
{
|
||||
double time = glfwGetTime(); // Elapsed time since glfwInit()
|
||||
|
||||
return time;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue