scene: Ensure there's current opengl context when DecorationItem is repainted for last time
BUG: 466186
This commit is contained in:
parent
93815aede4
commit
2de5236e3f
1 changed files with 1 additions and 0 deletions
|
@ -207,6 +207,7 @@ void DecorationItem::handleWindowClosed(Window *original, Deleted *deleted)
|
||||||
m_window = deleted;
|
m_window = deleted;
|
||||||
|
|
||||||
// If the decoration is about to be destroyed, render the decoration for the last time.
|
// If the decoration is about to be destroyed, render the decoration for the last time.
|
||||||
|
effects->makeOpenGLContextCurrent();
|
||||||
preprocess();
|
preprocess();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue