Cocoa Port: Instead of using a single shared draw timing for all displays, use individualized draw timings for each display.
This commit is contained in:
parent
c9009c9302
commit
8448b3ee10
|
@ -1297,8 +1297,7 @@ public:
|
|||
if (!isDisplayLinkStillActive)
|
||||
{
|
||||
CVDisplayLinkRef newDisplayLink;
|
||||
CVDisplayLinkCreateWithActiveCGDisplays(&newDisplayLink);
|
||||
CVDisplayLinkSetCurrentCGDisplay(newDisplayLink, displayID);
|
||||
CVDisplayLinkCreateWithCGDisplay(displayID, &newDisplayLink);
|
||||
CVDisplayLinkSetOutputCallback(newDisplayLink, &MacDisplayLinkCallback, self);
|
||||
|
||||
_displayLinksActiveList[displayID] = newDisplayLink;
|
||||
|
|
Loading…
Reference in New Issue