mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 15:06:00 +01:00
fix vram leak
This commit is contained in:
parent
53debc7e30
commit
4b2a69c571
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ CWindow::~CWindow() {
|
||||||
return;
|
return;
|
||||||
|
|
||||||
g_pHyprRenderer->makeEGLCurrent();
|
g_pHyprRenderer->makeEGLCurrent();
|
||||||
std::erase_if(g_pHyprOpenGL->m_mWindowFramebuffers, [&](const auto& other) { return other.first.lock().get() == this; });
|
std::erase_if(g_pHyprOpenGL->m_mWindowFramebuffers, [&](const auto& other) { return !other.first.lock() || other.first.lock().get() == this; });
|
||||||
}
|
}
|
||||||
|
|
||||||
SWindowDecorationExtents CWindow::getFullWindowExtents() {
|
SWindowDecorationExtents CWindow::getFullWindowExtents() {
|
||||||
|
|
Loading…
Reference in a new issue