aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/physac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/physac.h b/src/physac.h
index 5ce3970e..4f9b736f 100644
--- a/src/physac.h
+++ b/src/physac.h
@@ -788,6 +788,7 @@ static double GetCurrentTime(void)
QueryPerformanceFrequency(&clockFrequency);
QueryPerformanceCounter(&currentTime);
+ time = (double)((double)currentTime/(double)clockFrequency);
#endif
#if defined(PLATFORM_ANDROID) || defined(PLATFORM_RPI)