Fix current time value
This commit is contained in:
parent
54537e8f0b
commit
5a1cbb2842
1 changed files with 1 additions and 0 deletions
|
@ -788,6 +788,7 @@ static double GetCurrentTime(void)
|
||||||
QueryPerformanceFrequency(&clockFrequency);
|
QueryPerformanceFrequency(&clockFrequency);
|
||||||
QueryPerformanceCounter(¤tTime);
|
QueryPerformanceCounter(¤tTime);
|
||||||
|
|
||||||
|
time = (double)((double)currentTime/(double)clockFrequency);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(PLATFORM_ANDROID) || defined(PLATFORM_RPI)
|
#if defined(PLATFORM_ANDROID) || defined(PLATFORM_RPI)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue