mirror of
https://github.com/glfw/glfw.git
synced 2026-02-20 06:03:12 +01:00
Updated no-replacement-for-function date.
This commit is contained in:
@@ -48,7 +48,7 @@ static char* getDisplayName(CGDirectDisplayID displayID)
|
||||
CFIndex size;
|
||||
|
||||
// NOTE: This uses a deprecated function because Apple has
|
||||
// (as of September 2014) not provided any alternative
|
||||
// (as of January 2015) not provided any alternative
|
||||
info = IODisplayCreateInfoDictionary(CGDisplayIOServicePort(displayID),
|
||||
kIODisplayOnlyPreferredName);
|
||||
names = CFDictionaryGetValue(info, CFSTR(kDisplayProductName));
|
||||
|
||||
Reference in New Issue
Block a user