expo: fix vram leak
This commit is contained in:
parent
7c187cdd27
commit
f76fb09ff9
|
@ -15,6 +15,8 @@ static void removeOverview(void*) {
|
||||||
}
|
}
|
||||||
|
|
||||||
COverview::~COverview() {
|
COverview::~COverview() {
|
||||||
|
g_pHyprRenderer->makeEGLCurrent();
|
||||||
|
images.clear(); // otherwise we get a vram leak
|
||||||
g_pHookSystem->unhook(mouseButtonHook);
|
g_pHookSystem->unhook(mouseButtonHook);
|
||||||
g_pHookSystem->unhook(mouseMoveHook);
|
g_pHookSystem->unhook(mouseMoveHook);
|
||||||
g_pInputManager->unsetCursorImage();
|
g_pInputManager->unsetCursorImage();
|
||||||
|
|
Loading…
Reference in New Issue