Added monitor stubs for Cocoa.

This commit is contained in:
Camilla Berglund
2012-09-12 20:44:08 +02:00
parent 830f2b439c
commit fa4f6b43f6
2 changed files with 67 additions and 0 deletions
+11
View File
@@ -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
//------------------------------------------------------------------------