mirror of
https://github.com/glfw/glfw.git
synced 2026-09-20 16:30:45 +00:00
Added monitor stubs for Cocoa.
This commit is contained in:
@@ -42,6 +42,7 @@ typedef void* id;
|
||||
#endif
|
||||
|
||||
|
||||
#define _GLFW_PLATFORM_MONITOR_STATE _GLFWmonitorNS NS
|
||||
#define _GLFW_PLATFORM_WINDOW_STATE _GLFWwindowNS NS
|
||||
#define _GLFW_PLATFORM_CONTEXT_STATE _GLFWcontextNSGL NSGL
|
||||
#define _GLFW_PLATFORM_LIBRARY_WINDOW_STATE _GLFWlibraryNS NS
|
||||
@@ -99,6 +100,16 @@ typedef struct _GLFWlibraryNS
|
||||
} _GLFWlibraryNS;
|
||||
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
// Platform-specific monitor structure
|
||||
//------------------------------------------------------------------------
|
||||
typedef struct _GLFWmonitorNS
|
||||
{
|
||||
int dummy;
|
||||
|
||||
} _GLFWmonitorNS;
|
||||
|
||||
|
||||
//------------------------------------------------------------------------
|
||||
// Platform-specific library global data for NSGL
|
||||
//------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user