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:
parent
18c635f474
commit
7bbd3943c9
|
@ -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++)
|
||||
|
|
Loading…
Reference in New Issue
Block a user