Removed superfluous display sorting.

This commit is contained in:
Camilla Berglund 2014-01-21 15:03:35 +01:00
parent 18c635f474
commit 7bbd3943c9

View File

@ -278,17 +278,6 @@ _GLFWmonitor** _glfwPlatformGetMonitors(int* count)
free(displays); 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]; NSArray* screens = [NSScreen screens];
for (i = 0; i < monitorCount; i++) for (i = 0; i < monitorCount; i++)