diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-01 15:28:14 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-01 15:28:14 +0200 |
| commit | 0ba17d4da3540d509653d0636e45a12c79f59220 (patch) | |
| tree | 591262b64dcf2b10006d4e06f9fa2c3d9ad8d6cd /src/render/OpenGL.cpp | |
| parent | d6e227ae0d317bce64c7c32fe42660dd906cd5a7 (diff) | |
fix oopsie with optim
Diffstat (limited to 'src/render/OpenGL.cpp')
| -rw-r--r-- | src/render/OpenGL.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp index 90355c7f..4080437e 100644 --- a/src/render/OpenGL.cpp +++ b/src/render/OpenGL.cpp @@ -690,7 +690,7 @@ void CHyprOpenGLImpl::renderTextureWithBlur(const CTexture& tex, wlr_box* pBox, if (pixman_region32_not_empty(&damage)) { // render our great blurred FB static auto *const PBLURIGNOREOPACITY = &g_pConfigManager->getConfigValuePtr("decoration:blur_ignore_opacity")->intValue; - renderTextureInternalWithDamage(POUTFB->m_cTex, &MONITORBOX, *PBLURIGNOREOPACITY ? 255.f : a, &damage, USENEWOPTIM ? round : 0, false, false, false); + renderTextureInternalWithDamage(POUTFB->m_cTex, USENEWOPTIM ? pBox : &MONITORBOX, *PBLURIGNOREOPACITY ? 255.f : a, &damage, USENEWOPTIM ? round : 0, false, false, false); // render the window, but clear stencil if (!USENEWOPTIM) { |
