mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-27 06:20:05 +00:00
Fix Mac build
This commit is contained in:
1 parent
f7d3c10c9d
commit
5bf88cfe96
1 file changed
+1
-1
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user