mirror of
https://github.com/raysan5/raylib.git
synced 2026-04-23 15:23:57 -04:00
REVIEWED: GetTime(), make it consistent between platforms, consider window initialization base time
This commit is contained in:
@ -1179,6 +1179,7 @@ void SwapScreenBuffer(void)
|
||||
double GetTime(void)
|
||||
{
|
||||
double time = glfwGetTime(); // Elapsed time since glfwInit()
|
||||
|
||||
return time;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user