Ensure the CVDisplayLink is synchronized to the display that our window is on

This commit is contained in:
Cameron Gutman committed 2018-09-03 20:19:24 -04:00
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