diff options
author | Vaxry <[email protected]> | 2024-02-16 00:26:19 +0000 |
---|---|---|
committer | Vaxry <[email protected]> | 2024-02-16 00:26:27 +0000 |
commit | a2db14f5f218701aed52166e425130fb0640c8ac (patch) | |
tree | 3323e66f6f03cd8379900c289dd3f286412d8435 | |
parent | 9e236e5673a6b127cb615f3341da7f9cd1c72f5c (diff) | |
download | Hyprland-a2db14f5f218701aed52166e425130fb0640c8ac.tar.gz Hyprland-a2db14f5f218701aed52166e425130fb0640c8ac.zip |
minor fix
-rw-r--r-- | src/render/OpenGL.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/render/OpenGL.cpp b/src/render/OpenGL.cpp index 929f3f6e..a73cfd5b 100644 --- a/src/render/OpenGL.cpp +++ b/src/render/OpenGL.cpp @@ -125,7 +125,7 @@ bool CHyprOpenGLImpl::passRequiresIntrospection(CMonitor* pMonitor) { static auto* const POPTIM = (Hyprlang::INT* const*)g_pConfigManager->getConfigValuePtr("decoration:blur:new_optimizations"); static auto* const PBLURSPECIAL = (Hyprlang::INT* const*)g_pConfigManager->getConfigValuePtr("decoration:blur:special"); - if (m_RenderData.mouseZoomFactor != 1.0) + if (m_RenderData.mouseZoomFactor != 1.0 || g_pHyprRenderer->m_bCrashingInProgress) return true; if (!pMonitor->mirrors.empty()) @@ -314,7 +314,7 @@ void CHyprOpenGLImpl::end() { blend(false); - if (m_sFinalScreenShader.program < 1) + if (m_sFinalScreenShader.program < 1 && !g_pHyprRenderer->m_bCrashingInProgress) renderTexturePrimitive(m_RenderData.pCurrentMonData->offloadFB.m_cTex, &monbox); else renderTexture(m_RenderData.pCurrentMonData->offloadFB.m_cTex, &monbox, 1.f); |