mirror of
https://github.com/glfw/glfw.git
synced 2025-06-15 20:22:15 +00:00
Replace an input error call I accidentally removed
This commit is contained in:
parent
8101d7a7b6
commit
139803fd07
@ -123,7 +123,7 @@ static const char* getDisplayName(CGDirectDisplayID displayID)
|
|||||||
if (!names || !CFDictionaryGetValueIfPresent(names, CFSTR("en_US"),
|
if (!names || !CFDictionaryGetValueIfPresent(names, CFSTR("en_US"),
|
||||||
(const void**) &value))
|
(const void**) &value))
|
||||||
{
|
{
|
||||||
|
_glfwInputError(GLFW_PLATFORM_ERROR, "Failed to retrieve display name");
|
||||||
CFRelease(info);
|
CFRelease(info);
|
||||||
return strdup("Unknown");
|
return strdup("Unknown");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user