Make the error message when failing to get monitor display name more informative

This commit is contained in:
Kovid Goyal
2021-01-29 12:45:22 +05:30
parent ac2a33d09f
commit 0fc93118f2

View File

@@ -89,7 +89,7 @@ static char* getDisplayName(CGDirectDisplayID displayID)
if (!service)
{
_glfwInputError(GLFW_PLATFORM_ERROR,
"Cocoa: Failed to find service port for display");
"Cocoa: Failed to find service port for display, cannot get its name, using Unknown");
return NULL;
}