Browse Source

Fix current time value

pull/131/head
victorfisac 8 years ago
parent
commit
5a1cbb2842
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      src/physac.h

+ 1
- 0
src/physac.h View File

@ -788,6 +788,7 @@ static double GetCurrentTime(void)
QueryPerformanceFrequency(&clockFrequency); QueryPerformanceFrequency(&clockFrequency);
QueryPerformanceCounter(&currentTime); QueryPerformanceCounter(&currentTime);
time = (double)((double)currentTime/(double)clockFrequency);
#endif #endif
#if defined(PLATFORM_ANDROID) || defined(PLATFORM_RPI) #if defined(PLATFORM_ANDROID) || defined(PLATFORM_RPI)

Loading…
Cancel
Save