Removed NSScreen member of OS X monitor.

Apple's documentation of [NSScreen screens] mentions that, "The
(screens) array should not be cached.  Screens can be added, removed,
or dynamically reconfigured at any time."  Because of this, we simply
obtain the screen from a displayID whenever we need it.

Fixes #492.
Closes #493.
This commit is contained in:
Chi-kwan Chan
2015-04-07 21:02:48 -04:00
committed by Camilla Berglund
parent 882b770ecb
commit 4277e9f5d6
3 changed files with 24 additions and 5 deletions
-1
View File
@@ -92,7 +92,6 @@ typedef struct _GLFWmonitorNS
{
CGDirectDisplayID displayID;
CGDisplayModeRef previousMode;
id screen;
} _GLFWmonitorNS;