diff --git a/src/cocoa_monitor.m b/src/cocoa_monitor.m index 77ff59dc..400fa4ce 100644 --- a/src/cocoa_monitor.m +++ b/src/cocoa_monitor.m @@ -278,17 +278,6 @@ _GLFWmonitor** _glfwPlatformGetMonitors(int* count) free(displays); - for (i = 0; i < monitorCount; i++) - { - if (CGDisplayIsMain(monitors[i]->ns.displayID)) - { - _GLFWmonitor* temp = monitors[0]; - monitors[0] = monitors[i]; - monitors[i] = temp; - break; - } - } - NSArray* screens = [NSScreen screens]; for (i = 0; i < monitorCount; i++)