opengl: fix modif in blur

This commit is contained in:
Vaxry 2024-04-03 15:08:29 +01:00
parent 64964c4e3b
commit 91061a2084

View file

@ -1549,10 +1549,8 @@ void CHyprOpenGLImpl::renderTextureWithBlur(const CTexture& tex, CBox* pBox, flo
// render our great blurred FB // render our great blurred FB
static auto PBLURIGNOREOPACITY = CConfigValue<Hyprlang::INT>("decoration:blur:ignore_opacity"); static auto PBLURIGNOREOPACITY = CConfigValue<Hyprlang::INT>("decoration:blur:ignore_opacity");
setMonitorTransformEnabled(true); setMonitorTransformEnabled(true);
setRenderModifEnabled(false);
renderTextureInternalWithDamage(POUTFB->m_cTex, &MONITORBOX, *PBLURIGNOREOPACITY ? blurA : a * blurA, &texDamage, 0, false, false, false); renderTextureInternalWithDamage(POUTFB->m_cTex, &MONITORBOX, *PBLURIGNOREOPACITY ? blurA : a * blurA, &texDamage, 0, false, false, false);
setMonitorTransformEnabled(false); setMonitorTransformEnabled(false);
setRenderModifEnabled(true);
// render the window, but clear stencil // render the window, but clear stencil
glClearStencil(0); glClearStencil(0);