1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-11-27 04:28:52 -05:00

Made context creation use correct CGDisplay.

This commit is contained in:
Camilla Berglund 2013-04-16 23:33:49 +02:00
parent 1ffd8f667f
commit 94853a3a05

View File

@ -147,7 +147,7 @@ int _glfwCreateContext(_GLFWwindow* window,
{ {
ADD_ATTR(NSOpenGLPFANoRecovery); ADD_ATTR(NSOpenGLPFANoRecovery);
ADD_ATTR2(NSOpenGLPFAScreenMask, ADD_ATTR2(NSOpenGLPFAScreenMask,
CGDisplayIDToOpenGLDisplayMask(CGMainDisplayID())); CGDisplayIDToOpenGLDisplayMask(wndconfig->monitor->ns.displayID));
} }
#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1070 #if MAC_OS_X_VERSION_MAX_ALLOWED >= 1070