|
|
@ -290,6 +290,7 @@ static void InitDisplay(int width, int height); // Initialize display de |
|
|
|
static void InitGraphics(void); // Initialize OpenGL graphics |
|
|
|
static void SetupFramebufferSize(int displayWidth, int displayHeight); |
|
|
|
static void InitTimer(void); // Initialize timer |
|
|
|
static double GetTime(void); // Returns time since InitTimer() was run |
|
|
|
static bool GetKeyStatus(int key); // Returns if a key has been pressed |
|
|
|
static bool GetMouseButtonStatus(int button); // Returns if a mouse button has been pressed |
|
|
|
static void PollInputEvents(void); // Register user events |
|
|
@ -2030,7 +2031,7 @@ static void InitTimer(void) |
|
|
|
} |
|
|
|
|
|
|
|
// Get current time measure (in seconds) since InitTimer() |
|
|
|
double GetTime(void) |
|
|
|
static double GetTime(void) |
|
|
|
{ |
|
|
|
#if defined(PLATFORM_DESKTOP) || defined(PLATFORM_WEB) |
|
|
|
return glfwGetTime(); |
|
|
|