Removed harmless CGDisplay to NSScreen error.

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

Closes #221.
This commit is contained in:
Camilla Berglund 2014-06-19 13:50:29 +02:00
parent e8e05d462c
commit 215924f797

View File

@ -285,9 +285,6 @@ _GLFWmonitor** _glfwPlatformGetMonitors(int* count)
found++; found++;
else else
{ {
_glfwInputError(GLFW_PLATFORM_ERROR,
"Cocoa: Failed to find NSScreen for CGDisplay");
_glfwFreeMonitor(monitors[found]); _glfwFreeMonitor(monitors[found]);
monitors[found] = NULL; monitors[found] = NULL;
} }