From f2533c55cc25381d764978199ba8ada8957597c8 Mon Sep 17 00:00:00 2001 From: Vaxry Date: Mon, 5 Aug 2024 01:46:11 +0200 Subject: typo eh --- src/helpers/Monitor.cpp | 2 +- src/render/Renderer.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/helpers/Monitor.cpp b/src/helpers/Monitor.cpp index cd2769eb..48d12d88 100644 --- a/src/helpers/Monitor.cpp +++ b/src/helpers/Monitor.cpp @@ -795,7 +795,7 @@ void CMonitor::scheduleDone() { } bool CMonitor::attemptDirectScanout() { - static auto PENABLEEXPLICITKMS = CConfigValue("render:render:explicit_sync_kms"); + static auto PENABLEEXPLICITKMS = CConfigValue("render:explicit_sync_kms"); if (!mirrors.empty() || isMirror() || g_pHyprRenderer->m_bDirectScanoutBlocked) return false; // do not DS if this monitor is being mirrored. Will break the functionality. diff --git a/src/render/Renderer.cpp b/src/render/Renderer.cpp index 10e45161..787367a3 100644 --- a/src/render/Renderer.cpp +++ b/src/render/Renderer.cpp @@ -2650,7 +2650,7 @@ void CHyprRenderer::endRender() { const auto PMONITOR = g_pHyprOpenGL->m_RenderData.pMonitor; static auto PNVIDIAANTIFLICKER = CConfigValue("opengl:nvidia_anti_flicker"); static auto PENABLEEXPLICIT = CConfigValue("render:explicit_sync"); - static auto PENABLEEXPLICITKMS = CConfigValue("render:render:explicit_sync_kms"); + static auto PENABLEEXPLICITKMS = CConfigValue("render:explicit_sync_kms"); PMONITOR->commitSeq++; -- cgit v1.2.3