Make the error message when failing to get monitor display name more informative
This commit is contained in:
parent
ac2a33d09f
commit
0fc93118f2
@ -89,7 +89,7 @@ static char* getDisplayName(CGDirectDisplayID displayID)
|
|||||||
if (!service)
|
if (!service)
|
||||||
{
|
{
|
||||||
_glfwInputError(GLFW_PLATFORM_ERROR,
|
_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;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user