backends/drm: don't reset damage with direct scanout
This commit is contained in:
parent
6d6ce2981e
commit
3135f56576
1 changed files with 0 additions and 1 deletions
|
@ -708,7 +708,6 @@ bool EglGbmBackend::scanout(AbstractOutput *drmOutput, SurfaceItem *surfaceItem)
|
|||
// ensure that a context is current like with normal presentation
|
||||
makeCurrent();
|
||||
if (output.output->present(bo, damage)) {
|
||||
output.current.damageJournal.clear();
|
||||
if (output.scanoutSurface != surface) {
|
||||
auto path = surface->client()->executablePath();
|
||||
qCDebug(KWIN_DRM).nospace() << "Direct scanout starting on output " << output.output->name() << " for application \"" << path << "\"";
|
||||
|
|
Loading…
Reference in a new issue