mirror of
https://github.com/glfw/glfw.git
synced 2026-11-18 21:04:54 +00:00
Replaced NSDate time source with mach_absolute_time.
This commit is contained in:
@@ -85,7 +85,8 @@ typedef struct _GLFWwindowNS
|
||||
typedef struct _GLFWlibraryNS
|
||||
{
|
||||
struct {
|
||||
double t0;
|
||||
double base;
|
||||
double resolution;
|
||||
} timer;
|
||||
|
||||
// dlopen handle for dynamically loading OpenGL extension entry points
|
||||
@@ -101,6 +102,9 @@ typedef struct _GLFWlibraryNS
|
||||
// Prototypes for platform specific internal functions
|
||||
//========================================================================
|
||||
|
||||
// Time
|
||||
void _glfwInitTimer(void);
|
||||
|
||||
// Joystick input
|
||||
void _glfwInitJoysticks(void);
|
||||
void _glfwTerminateJoysticks(void);
|
||||
|
||||
Reference in New Issue
Block a user