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:
parent
e8e05d462c
commit
215924f797
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user