mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2025-07-18 10:32:38 +00:00
Fix Mac build
This commit is contained in:
parent
f7d3c10c9d
commit
5bf88cfe96
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user