Added comment on headless Macs.

master
Camilla Berglund ago%!(EXTRA string=12 years)
parent 6eec7970c1
commit beb7e5909f
  1. 1
      src/cocoa_monitor.m

@ -52,6 +52,7 @@ static const char* getDisplayName(CGDirectDisplayID displayID)
if (!names || !CFDictionaryGetValueIfPresent(names, CFSTR("en_US"),
(const void**) &value))
{
// This may happen if a desktop Mac is running headless
_glfwInputError(GLFW_PLATFORM_ERROR, "Failed to retrieve display name");
CFRelease(info);

Loading…
Cancel
Save