mirror of
https://github.com/glfw/glfw.git
synced 2026-09-18 22:55:46 +00:00
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:
committed by
Camilla Berglund
parent
882b770ecb
commit
4277e9f5d6
@@ -92,7 +92,6 @@ typedef struct _GLFWmonitorNS
|
||||
{
|
||||
CGDirectDisplayID displayID;
|
||||
CGDisplayModeRef previousMode;
|
||||
id screen;
|
||||
|
||||
} _GLFWmonitorNS;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user