Don't reconfigure effects in Compositor::reinitialize()

If start() fails, the effects pointer will be null.
master
Vlad Zahorodnii 1 year ago
parent b555157e8d
commit 24a88b035c

@ -590,10 +590,6 @@ void Compositor::reinitialize()
// Restart compositing
stop();
start();
if (effects) { // start() may fail
effects->reconfigure();
}
}
void Compositor::handleFrameRequested(RenderLoop *renderLoop)

Loading…
Cancel
Save