1
0
Fork 0
mirror of https://github.com/gwm17/glfw.git synced 2024-10-08 07:07:25 -04:00

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);
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++)