From e1bf133de7dd492376ca01c77ff77fbc0932b948 Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Sat, 20 Jun 2020 02:42:02 +0200 Subject: [PATCH] Fix support for systems with age disabled If no damage is supported, repaint all the output rather than nothing. --- plugins/platforms/drm/egl_gbm_backend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/platforms/drm/egl_gbm_backend.cpp b/plugins/platforms/drm/egl_gbm_backend.cpp index f89ff0522e..c65ff299f5 100644 --- a/plugins/platforms/drm/egl_gbm_backend.cpp +++ b/plugins/platforms/drm/egl_gbm_backend.cpp @@ -504,7 +504,7 @@ QRegion EglGbmBackend::prepareRenderingForScreen(int screenId) return region; } - return QRegion(); + return output.output->geometry(); } void EglGbmBackend::endRenderingFrame(const QRegion &renderedRegion, const QRegion &damagedRegion)