mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-27 06:20:05 +00:00
Ensure the CVDisplayLink is synchronized to the display that our window is on
This commit is contained in:
1 parent
9b1eef3f63
commit
fa93364ddd
5 files changed
+153
-74
No files matched your search
@@ -143,7 +143,7 @@ bool Pacer::initialize(SDL_Window* window, int maxVideoFps, bool enableVsync)
|
||||
m_DisplayFps, m_MaxVideoFps);
|
||||
|
||||
#if defined(Q_OS_DARWIN)
|
||||
m_VsyncSource = new DisplayLinkVsyncSource(this);
|
||||
m_VsyncSource = DisplayLinkVsyncSourceFactory::createVsyncSource(this);
|
||||
#elif defined(Q_OS_WIN32)
|
||||
m_VsyncSource = new DxVsyncSource(this);
|
||||
#else
|
||||
|
||||
Reference in new issue
Block a user