From c8b67b91201792d27cd0323ced4d484bab636325 Mon Sep 17 00:00:00 2001 From: Volker Krause Date: Fri, 18 Mar 2022 15:43:26 +0100 Subject: [PATCH] Fix Qt6 build regressions introduced by 0cd453690be Hard to avoid as long as we don't have CI coverage yet, but that will take a bit more time, we need KWin (and all its dependencies) to fully build first. --- src/backends/drm/virtual_egl_gbm_layer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/drm/virtual_egl_gbm_layer.cpp b/src/backends/drm/virtual_egl_gbm_layer.cpp index b8b3938eb7..2244e21bea 100644 --- a/src/backends/drm/virtual_egl_gbm_layer.cpp +++ b/src/backends/drm/virtual_egl_gbm_layer.cpp @@ -90,7 +90,7 @@ bool VirtualEglGbmLayer::endRendering(const QRegion &damagedRegion) m_currentBuffer = buffer; m_currentDamage = damagedRegion; } - return buffer; + return !buffer.isNull(); } QRegion VirtualEglGbmLayer::currentDamage() const