From 215924f797ea9f27a50116ef5a419a69e3a0c44d Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Thu, 19 Jun 2014 13:50:29 +0200 Subject: [PATCH] Removed harmless CGDisplay to NSScreen error. This used to be a failure state, but has since been fixed. Closes #221. --- src/cocoa_monitor.m | 3 --- 1 file changed, 3 deletions(-) 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; }