diff options
author | Vaxry <[email protected]> | 2024-04-03 17:08:11 +0100 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-04-03 17:08:11 +0100 |
commit | 93915502d2677b70382b7cba09620b445f6b832e (patch) | |
tree | 2f224e57c4e766227726ea45d6f33f483e03be97 /src/render/OpenGL.cpp | |
parent | 91061a2084f4b3b2f64c955b4d02b8f5c94541be (diff) | |
download | Hyprland-93915502d2677b70382b7cba09620b445f6b832e.tar.gz Hyprland-93915502d2677b70382b7cba09620b445f6b832e.zip |
blur: block modif only on no new optimize
Diffstat (limited to 'src/render/OpenGL.cpp')
-rw-r--r-- | src/render/OpenGL.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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<Hyprlang::INT>("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 |