diff options
| author | MightyPlaza <123664421+MightyPlaza@users.noreply.github.com> | 2023-12-24 18:29:04 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-12-24 19:29:04 +0100 |
| commit | b25b06430ba82ebd1977ad75b6cb1b86dd07cb8b (patch) | |
| tree | c1a2a66dd6fcd85d62bc5cbc011572bc8896f3b7 /src/render | |
| parent | 5aab4a96e3c01cce181b42d51140f7ed4e555d8b (diff) | |
groupbar: add egl context to refreshGroupBarGradients() (#4238)
* add egl context to refreshGroupBarGradients()
modified: src/render/decorations/CHyprGroupBarDecoration.cpp
* don't unsetEGL
modified: src/render/decorations/CHyprGroupBarDecoration.cpp
Diffstat (limited to 'src/render')
| -rw-r--r-- | src/render/decorations/CHyprGroupBarDecoration.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/render/decorations/CHyprGroupBarDecoration.cpp b/src/render/decorations/CHyprGroupBarDecoration.cpp index ae1d76a7..8b4958bc 100644 --- a/src/render/decorations/CHyprGroupBarDecoration.cpp +++ b/src/render/decorations/CHyprGroupBarDecoration.cpp @@ -288,6 +288,8 @@ void refreshGroupBarGradients() { static auto* const PGROUPCOLACTIVELOCKED = &g_pConfigManager->getConfigValuePtr("group:groupbar:col.locked_active")->data; static auto* const PGROUPCOLINACTIVELOCKED = &g_pConfigManager->getConfigValuePtr("group:groupbar:col.locked_inactive")->data; + g_pHyprRenderer->makeEGLCurrent(); + if (m_tGradientActive.m_iTexID != 0) { m_tGradientActive.destroyTexture(); m_tGradientInactive.destroyTexture(); |
