Przeglądaj źródła

Removed harmless CGDisplay to NSScreen error.

This used to be a failure state, but has since been fixed.

Closes #221.
Camilla Berglund 11 lat temu
rodzic
commit
215924f797
1 zmienionych plików z 0 dodań i 3 usunięć
  1. 0 3
      src/cocoa_monitor.m

+ 0 - 3
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;
         }