From 93915502d2677b70382b7cba09620b445f6b832e Mon Sep 17 00:00:00 2001 From: Vaxry Date: Wed, 3 Apr 2024 17:08:11 +0100 Subject: [PATCH] blur: block modif only on no new optimize --- src/render/OpenGL.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp index c2401cef..8be8e54e 100644 --- a/src/render/OpenGL.cpp +++ b/src/render/OpenGL.cpp @@ -1549,7 +1549,11 @@ void CHyprOpenGLImpl::renderTextureWithBlur(const CTexture& tex, CBox* pBox, flo // render our great blurred FB static auto PBLURIGNOREOPACITY = CConfigValue("decoration:blur:ignore_opacity"); setMonitorTransformEnabled(true); + if (!USENEWOPTIMIZE) + setRenderModifEnabled(false); renderTextureInternalWithDamage(POUTFB->m_cTex, &MONITORBOX, *PBLURIGNOREOPACITY ? blurA : a * blurA, &texDamage, 0, false, false, false); + if (!USENEWOPTIMIZE) + setRenderModifEnabled(true); setMonitorTransformEnabled(false); // render the window, but clear stencil