Commit 75321a21 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Aleix Pol Gonzalez
Browse files

Don't check if there's a non-rendered output twice

We are already doing it on the line above.
parent a7ecaa55
......@@ -745,11 +745,6 @@ void WaylandBackend::checkBufferSwap()
// TODO: what if one does not need to be rendered (no damage)?
return;
}
for (auto *output : m_outputs) {
if (!output->rendered()) {
return;
}
Compositor::self()->bufferSwapComplete();
for (auto *output : qAsConst(m_outputs)) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment