Fix time calculation in GetTime function (#6061)

This commit is contained in:
andzdroid
2026-08-13 23:46:53 +01:00
committed by GitHub
parent ae83a50fb3
commit dad422a430

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;
}