Don't reconfigure effects in Compositor::reinitialize()
If start() fails, the effects pointer will be null.
This commit is contained in:
parent
b555157e8d
commit
24a88b035c
1 changed files with 0 additions and 4 deletions
|
@ -590,10 +590,6 @@ void Compositor::reinitialize()
|
||||||
// Restart compositing
|
// Restart compositing
|
||||||
stop();
|
stop();
|
||||||
start();
|
start();
|
||||||
|
|
||||||
if (effects) { // start() may fail
|
|
||||||
effects->reconfigure();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Compositor::handleFrameRequested(RenderLoop *renderLoop)
|
void Compositor::handleFrameRequested(RenderLoop *renderLoop)
|
||||||
|
|
Loading…
Reference in a new issue