REVIEWED: GetTime(), make it consistent between platforms, consider window initialization base time

This commit is contained in:
Ray 2026-03-15 20:39:57 +01:00
commit 1d9e24eb58

View file

@ -1179,6 +1179,7 @@ void SwapScreenBuffer(void)
double GetTime(void)
{
double time = glfwGetTime(); // Elapsed time since glfwInit()
return time;
}