Skip to content

Commit

Permalink
groupbar: add egl context to refreshGroupBarGradients() (#4238)
Browse files Browse the repository at this point in the history
* add egl context to refreshGroupBarGradients()

modified:   src/render/decorations/CHyprGroupBarDecoration.cpp

* don't unsetEGL
modified:   src/render/decorations/CHyprGroupBarDecoration.cpp
  • Loading branch information
MightyPlaza committed Dec 24, 2023
1 parent 5aab4a9 commit b25b064
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/render/decorations/CHyprGroupBarDecoration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit b25b064

Please sign in to comment.