Soma Mizobuchi 1 天之前
committed by GitHub
父節點
當前提交
78778f2a78
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: B5690EEEBB952194
共有 1 個文件被更改,包括 1 次插入2 次删除
  1. +1
    -2
      src/platforms/rcore_desktop_sdl.c

+ 1
- 2
src/platforms/rcore_desktop_sdl.c 查看文件

@ -1276,8 +1276,7 @@ void SwapScreenBuffer(void)
// Get elapsed time measure in seconds
double GetTime(void)
{
unsigned int ms = SDL_GetTicks(); // Elapsed time in milliseconds since SDL_Init()
double time = (double)ms/1000;
double time = (double)SDL_GetPerformanceCounter() / (double)SDL_GetPerformanceFrequency();
return time;
}

Loading…
取消
儲存