aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Compositor.cpp
diff options
context:
space:
mode:
authorVaxry <[email protected]>2023-12-04 02:08:34 +0000
committerVaxry <[email protected]>2023-12-04 02:08:34 +0000
commit5d100bdcbbd87bac74935eae6b7d7aed25620323 (patch)
treeac9f529eac637842bcd6be165cf81775dd890666 /src/Compositor.cpp
parent45d3fbb8d8409b2def531a9315916606165875cf (diff)
downloadHyprland-5d100bdcbbd87bac74935eae6b7d7aed25620323.tar.gz
Hyprland-5d100bdcbbd87bac74935eae6b7d7aed25620323.zip
opengl: clear layer fade fbs in ~dtor
Diffstat (limited to 'src/Compositor.cpp')
-rw-r--r--src/Compositor.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/Compositor.cpp b/src/Compositor.cpp
index 3020b96d..9419583e 100644
--- a/src/Compositor.cpp
+++ b/src/Compositor.cpp
@@ -1441,9 +1441,6 @@ void CCompositor::cleanupFadingOut(const int& monid) {
g_pHyprOpenGL->markBlurDirtyForMonitor(getMonitorFromID(monid));
if (ls->fadingOut && ls->readyToDelete && !ls->alpha.isBeingAnimated()) {
- g_pHyprOpenGL->m_mLayerFramebuffers[ls].release();
- g_pHyprOpenGL->m_mLayerFramebuffers.erase(ls);
-
for (auto& m : m_vMonitors) {
for (auto& lsl : m->m_aLayerSurfaceLayers) {
if (!lsl.empty() && std::find_if(lsl.begin(), lsl.end(), [&](std::unique_ptr<SLayerSurface>& other) { return other.get() == ls; }) != lsl.end()) {