mirror of
https://github.com/glfw/glfw.git
synced 2024-11-22 21:14:35 +00: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