Fix timer ifdef;

This commit is contained in:
bjorn 2016-11-28 23:06:16 -08:00
parent e3c1dcfa54
commit b17111dc89
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,8 @@
#ifndef LOVR_TIMER_TYPES
#define LOVR_TIMER_TYPES
#define TICK_SAMPLES 60
typedef struct {
double lastTime;
double time;
@ -9,6 +12,7 @@ typedef struct {
double tickBuffer[TICK_SAMPLES];
int fps;
} TimerState;
#endif
void lovrTimerInit();