소스 검색

Removed harmless CGDisplay to NSScreen error.

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

Closes #221.
Camilla Berglund 11 년 전
부모
커밋
215924f797
1개의 변경된 파일0개의 추가작업 그리고 3개의 파일을 삭제
  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;
         }