backends/drm: don't reset damage with direct scanout

This commit is contained in:
Xaver Hugl 2021-12-20 13:42:47 +01:00
parent 6d6ce2981e
commit 3135f56576

View file

@ -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 << "\"";