diff --git a/src/cocoa_monitor.m b/src/cocoa_monitor.m index ff908ae2..3b4b1ed1 100644 --- a/src/cocoa_monitor.m +++ b/src/cocoa_monitor.m @@ -285,9 +285,6 @@ _GLFWmonitor** _glfwPlatformGetMonitors(int* count) found++; else { - _glfwInputError(GLFW_PLATFORM_ERROR, - "Cocoa: Failed to find NSScreen for CGDisplay"); - _glfwFreeMonitor(monitors[found]); monitors[found] = NULL; }