Made context creation use correct CGDisplay.
This commit is contained in:
parent
1ffd8f667f
commit
94853a3a05
@ -147,7 +147,7 @@ int _glfwCreateContext(_GLFWwindow* window,
|
||||
{
|
||||
ADD_ATTR(NSOpenGLPFANoRecovery);
|
||||
ADD_ATTR2(NSOpenGLPFAScreenMask,
|
||||
CGDisplayIDToOpenGLDisplayMask(CGMainDisplayID()));
|
||||
CGDisplayIDToOpenGLDisplayMask(wndconfig->monitor->ns.displayID));
|
||||
}
|
||||
|
||||
#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1070
|
||||
|
Loading…
Reference in New Issue
Block a user