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

If start() fails, the effects pointer will be null.
This commit is contained in:
Vlad Zahorodnii 2023-09-19 17:44:19 +03:00
parent b555157e8d
commit 24a88b035c

View file

@ -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)