mirror of
https://github.com/glfw/glfw.git
synced 2026-09-21 08:39:45 +00:00
Fix monitor disappearing on OS X with AGS
When automatic graphics switching is activated, the CGDirectDisplayID for the display changes, casuing the primary GLFWmonitor to disappear.
This commit is contained in:
@@ -90,6 +90,7 @@ typedef struct _GLFWmonitorNS
|
||||
{
|
||||
CGDirectDisplayID displayID;
|
||||
CGDisplayModeRef previousMode;
|
||||
uint32_t unitNumber;
|
||||
|
||||
} _GLFWmonitorNS;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user