瀏覽代碼

Init frame timming measure variables

pull/524/head
Ray 7 年之前
父節點
當前提交
54e24d905a
共有 1 個檔案被更改,包括 4 行新增2 行删除
  1. +4
    -2
      src/core.c

+ 4
- 2
src/core.c 查看文件

@ -332,8 +332,10 @@ static char **dropFilesPath; // Store dropped files paths as stri
static int dropFilesCount = 0; // Count stored strings
#endif
static double currentTime, previousTime; // Used to track timmings
static double updateTime, drawTime; // Time measures for update and draw
static double currentTime = 0.0; // Current time measure
static double previousTime = 0.0; // Previous time measure
static double updateTime = 0.0; // Time measure for frame update
static double drawTime = 0.0; // Time measure for frame draw
static double frameTime = 0.0; // Time measure for one frame
static double targetTime = 0.0; // Desired time for one frame, if 0 not applied

Loading…
取消
儲存