aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/render/OpenGL.cpp
diff options
context:
space:
mode:
authorVaxry <[email protected]>2024-04-03 17:08:11 +0100
committerVaxry <[email protected]>2024-04-03 17:08:11 +0100
commit93915502d2677b70382b7cba09620b445f6b832e (patch)
tree2f224e57c4e766227726ea45d6f33f483e03be97 /src/render/OpenGL.cpp
parent91061a2084f4b3b2f64c955b4d02b8f5c94541be (diff)
downloadHyprland-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.cpp4
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