浏览代码

Fix current time value

pull/131/head
victorfisac 8 年前
父节点
当前提交
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); 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)

正在加载...
取消
保存