aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-08-05 01:46:11 +0200
committerVaxry <[email protected]>2024-08-05 01:46:11 +0200
commitf2533c55cc25381d764978199ba8ada8957597c8 (patch)
treed9bf9d5fdfb121e6627da62882d0435279d9d823
parentbd117837aa36912178d4a6cb23284c04b18dd382 (diff)
downloadHyprland-f2533c55cc25381d764978199ba8ada8957597c8.tar.gz
Hyprland-f2533c55cc25381d764978199ba8ada8957597c8.zip
typo eh
-rw-r--r--src/helpers/Monitor.cpp2
-rw-r--r--src/render/Renderer.cpp2
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<Hyprlang::INT>("render:render:explicit_sync_kms");
+ static auto PENABLEEXPLICITKMS = CConfigValue<Hyprlang::INT>("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<Hyprlang::INT>("opengl:nvidia_anti_flicker");
static auto PENABLEEXPLICIT = CConfigValue<Hyprlang::INT>("render:explicit_sync");
- static auto PENABLEEXPLICITKMS = CConfigValue<Hyprlang::INT>("render:render:explicit_sync_kms");
+ static auto PENABLEEXPLICITKMS = CConfigValue<Hyprlang::INT>("render:explicit_sync_kms");
PMONITOR->commitSeq++;