From 3cb799b1842016c85cca2db66fa502b8179cf0fe Mon Sep 17 00:00:00 2001 From: Maximilian Seidler <78690852+PaideiaDilemma@users.noreply.github.com> Date: Fri, 3 Oct 2025 11:58:38 +0000 Subject: [PATCH] core: nvidia workaround destroy renderer before EGL (#884) --- src/core/hyprlock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hyprlock.cpp b/src/core/hyprlock.cpp index cd27e9e..87e33d1 100644 --- a/src/core/hyprlock.cpp +++ b/src/core/hyprlock.cpp @@ -312,8 +312,8 @@ void CHyprlock::run() { if (g_pEGL->m_isNvidia && m_vOutputs.empty()) { Debug::log(LOG, "NVIDIA Workaround: destroying rendering context to avoid crash on reconnect!"); - g_pEGL.reset(); g_pRenderer.reset(); + g_pEGL.reset(); g_pEGL = makeUnique(m_sWaylandState.display); g_pRenderer = makeUnique(); g_pRenderer->warpOpacity(1.0);