backends/drm: don't check the test buffer if we don't need one
BUG: 452572
This commit is contained in:
parent
941bae2810
commit
99761901ee
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ bool DrmPipeline::commitPipelinesAtomic(const QVector<DrmPipeline *> &pipelines,
|
|||
return false;
|
||||
};
|
||||
for (const auto &pipeline : pipelines) {
|
||||
if (!pipeline->pending.layer->checkTestBuffer()) {
|
||||
if (pipeline->activePending() && !pipeline->pending.layer->checkTestBuffer()) {
|
||||
qCWarning(KWIN_DRM) << "Checking test buffer failed for" << mode;
|
||||
return failed();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue