Fix Mac build

This commit is contained in:
Cameron Gutman 2018-08-20 18:57:11 -07:00
parent f7d3c10c9d
commit 5bf88cfe96

View File

@ -34,7 +34,7 @@ DisplayLinkVsyncSource::displayLinkOutputCallback(
// interval, even if many ms prior, we can safely use the current host time // interval, even if many ms prior, we can safely use the current host time
// and get a consistent callback for each v-sync. This reduces video latency // and get a consistent callback for each v-sync. This reduces video latency
// by at least 1 frame vs. rendering with the actual vsyncTime. // by at least 1 frame vs. rendering with the actual vsyncTime.
me->m_Pacer->vsyncCallback(500 / m_DisplayFps); me->m_Pacer->vsyncCallback(500 / me->m_DisplayFps);
return kCVReturnSuccess; return kCVReturnSuccess;
} }