diff options
| author | victorfisac <victorfisac@gmail.com> | 2016-06-14 20:25:08 +0200 |
|---|---|---|
| committer | victorfisac <victorfisac@gmail.com> | 2016-06-14 20:25:08 +0200 |
| commit | 5a1cbb2842f6801f7a86086e87f4821fd0b09229 (patch) | |
| tree | 21272aa8cf7255193f17751b389ac2763f8107fe | |
| parent | 54537e8f0b57df2f3f15d8e46309672f46e4775a (diff) | |
| download | raylib-5a1cbb2842f6801f7a86086e87f4821fd0b09229.tar.gz raylib-5a1cbb2842f6801f7a86086e87f4821fd0b09229.zip | |
Fix current time value
| -rw-r--r-- | src/physac.h | 1 |
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(¤tTime); + time = (double)((double)currentTime/(double)clockFrequency); #endif #if defined(PLATFORM_ANDROID) || defined(PLATFORM_RPI) |
