Init frame timming measure variables
This commit is contained in:
parent
cd616258c6
commit
54e24d905a
1 changed files with 4 additions and 2 deletions
|
@ -332,8 +332,10 @@ static char **dropFilesPath; // Store dropped files paths as stri
|
||||||
static int dropFilesCount = 0; // Count stored strings
|
static int dropFilesCount = 0; // Count stored strings
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
static double currentTime, previousTime; // Used to track timmings
|
static double currentTime = 0.0; // Current time measure
|
||||||
static double updateTime, drawTime; // Time measures for update and draw
|
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 frameTime = 0.0; // Time measure for one frame
|
||||||
static double targetTime = 0.0; // Desired time for one frame, if 0 not applied
|
static double targetTime = 0.0; // Desired time for one frame, if 0 not applied
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue