victorfisac пре 9 година
родитељ
комит
5a1cbb2842
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      src/physac.h

+ 1 - 0
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)