mirror of
https://github.com/raysan5/raylib.git
synced 2026-08-14 11:29:16 +00:00
Fix time calculation in GetTime function (#6061)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user