Fix time calculation in GetTime function

This commit is contained in:
andzdroid 2026-08-13 21:35:15 +01:00 • committed by GitHub
commit 15c9b6940c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -962,7 +962,7 @@ void SwapScreenBuffer(void)
// Get elapsed time measure in seconds since InitTimer()
double GetTime(void)
{
double time = emscripten_get_now()*1000.0;
double time = emscripten_get_now()/1000.0;
return time;
}