mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 15:25:58 +01:00
eeeeeeee
This commit is contained in:
parent
4edb12f953
commit
310faaae3a
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ void CFrameSchedulingManager::registerMonitor(CMonitor* pMonitor) {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
DATA->fenceTimer = std::make_shared<CEventLoopTimer>(::onFenceTimer, pMonitor);
|
DATA->fenceTimer = std::make_shared<CEventLoopTimer>(::onFenceTimer, pMonitor);
|
||||||
DATA->vblankTimer = std::make_shared<CEventLoopTimer>(::onPresentTimer, pMonitor);
|
DATA->vblankTimer = std::make_shared<CEventLoopTimer>(::onPresentTimer, DATA);
|
||||||
|
|
||||||
g_pEventLoopManager->addTimer(DATA->fenceTimer);
|
g_pEventLoopManager->addTimer(DATA->fenceTimer);
|
||||||
g_pEventLoopManager->addTimer(DATA->vblankTimer);
|
g_pEventLoopManager->addTimer(DATA->vblankTimer);
|
||||||
|
|
Loading…
Reference in a new issue