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

We are already doing it on the line above.
master
Aleix Pol 2020-09-09 03:47:01 +02:00 committed by Aleix Pol Gonzalez
parent a7ecaa55e3
commit 75321a2166
1 changed files with 0 additions and 5 deletions

View File

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