Removed harmless CGDisplay to NSScreen error.

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

Closes #221.
master
Camilla Berglund ago%!(EXTRA string=11 years)
parent e8e05d462c
commit 215924f797
  1. 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;
}

Loading…
Cancel
Save