renderer: unload background texture if it's disabled

ref #9031
This commit is contained in:
vaxerski
2025-01-14 17:52:19 +01:00
parent f16f170433
commit 25add26881
3 changed files with 20 additions and 10 deletions

View File

@@ -899,11 +899,12 @@ void CConfigManager::postConfigReload(const Hyprlang::CParseResult& result) {
g_pInputManager->setPointerConfigs();
g_pInputManager->setTouchDeviceConfigs();
g_pInputManager->setTabletConfigs();
}
if (!isFirstLaunch)
g_pHyprOpenGL->m_bReloadScreenShader = true;
g_pHyprOpenGL->ensureBackgroundTexturePresence();
}
// parseError will be displayed next frame
if (result.error)