mirror of
https://github.com/hyprwm/Hyprland
synced 2024-12-23 09:49:47 +01:00
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
This commit is contained in:
parent
5aab4a96e3
commit
b25b06430b
1 changed files with 2 additions and 0 deletions
|
@ -288,6 +288,8 @@ void refreshGroupBarGradients() {
|
||||||
static auto* const PGROUPCOLACTIVELOCKED = &g_pConfigManager->getConfigValuePtr("group:groupbar:col.locked_active")->data;
|
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;
|
static auto* const PGROUPCOLINACTIVELOCKED = &g_pConfigManager->getConfigValuePtr("group:groupbar:col.locked_inactive")->data;
|
||||||
|
|
||||||
|
g_pHyprRenderer->makeEGLCurrent();
|
||||||
|
|
||||||
if (m_tGradientActive.m_iTexID != 0) {
|
if (m_tGradientActive.m_iTexID != 0) {
|
||||||
m_tGradientActive.destroyTexture();
|
m_tGradientActive.destroyTexture();
|
||||||
m_tGradientInactive.destroyTexture();
|
m_tGradientInactive.destroyTexture();
|
||||||
|
|
Loading…
Reference in a new issue