From 3f40d6d9361d0c5fec558b7549e58203fbe5cbd7 Mon Sep 17 00:00:00 2001 From: vaxerski Date: Sun, 29 Dec 2024 12:56:58 +0100 Subject: [PATCH] pass: scale blur region in ::render --- src/render/pass/Pass.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/render/pass/Pass.cpp b/src/render/pass/Pass.cpp index c5c60be6..f71bd562 100644 --- a/src/render/pass/Pass.cpp +++ b/src/render/pass/Pass.cpp @@ -133,6 +133,8 @@ CRegion CRenderPass::render(const CRegion& damage_) { blurRegion.add(*BB); } + blurRegion.scale(g_pHyprOpenGL->m_RenderData.pMonitor->scale); + blurRegion.intersect(damage).expand(oneBlurRadius()); g_pHyprOpenGL->m_RenderData.finalDamage = blurRegion.copy().add(damage);