Don't check if there's a non-rendered output twice
We are already doing it on the line above.
This commit is contained in:
parent
a7ecaa55e3
commit
75321a2166
1 changed files with 0 additions and 5 deletions
|
@ -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)) {
|
||||
|
|
Loading…
Reference in a new issue