Scene: set painted_screen in paintScreen
If it's not set but used by EffectsScreen that can cause crashes
This commit is contained in:
parent
3f29ad6b22
commit
843cee3d66
1 changed files with 1 additions and 0 deletions
|
@ -220,6 +220,7 @@ void Scene::paintScreen(AbstractOutput *output, const QList<Toplevel *> &topleve
|
||||||
|
|
||||||
const QRect geo = output->geometry();
|
const QRect geo = output->geometry();
|
||||||
QRegion update = geo, repaint = geo, valid;
|
QRegion update = geo, repaint = geo, valid;
|
||||||
|
painted_screen = output;
|
||||||
|
|
||||||
paintScreen(geo, repaint, &update, &valid, output->renderLoop(), createProjectionMatrix(output->geometry()));
|
paintScreen(geo, repaint, &update, &valid, output->renderLoop(), createProjectionMatrix(output->geometry()));
|
||||||
clearStackingOrder();
|
clearStackingOrder();
|
||||||
|
|
Loading…
Reference in a new issue