diff options
author | vaxerski <[email protected]> | 2022-10-19 11:00:59 +0100 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-10-19 11:00:59 +0100 |
commit | 98a32f5e52143bd40cb574822889d7ae64818fb0 (patch) | |
tree | 2743eeb8a6c2b11575bb31771e0b93f543b3d0dd /src/render/OpenGL.cpp | |
parent | dc1737f12891957c9989f0fb732f404e67dc425e (diff) | |
download | Hyprland-98a32f5e52143bd40cb574822889d7ae64818fb0.tar.gz Hyprland-98a32f5e52143bd40cb574822889d7ae64818fb0.zip |
render layer snapshot without blur
Diffstat (limited to 'src/render/OpenGL.cpp')
-rw-r--r-- | src/render/OpenGL.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp index 70ba7121..fef110d3 100644 --- a/src/render/OpenGL.cpp +++ b/src/render/OpenGL.cpp @@ -975,9 +975,14 @@ void CHyprOpenGLImpl::makeLayerSnapshot(SLayerSurface* pLayer) { timespec now; clock_gettime(CLOCK_MONOTONIC, &now); + const auto BLURLSSTATUS = pLayer->forceBlur; + pLayer->forceBlur = false; + // draw the layer g_pHyprRenderer->renderLayer(pLayer, PMONITOR, &now); + pLayer->forceBlur = BLURLSSTATUS; + // TODO: WARN: // revise if any stencil-requiring rendering is done to the layers. |