diff --git a/src/backends/wayland/wayland_egl_backend.cpp b/src/backends/wayland/wayland_egl_backend.cpp index b193aa9e0a..c0e131799e 100644 --- a/src/backends/wayland/wayland_egl_backend.cpp +++ b/src/backends/wayland/wayland_egl_backend.cpp @@ -205,6 +205,9 @@ std::optional WaylandEglPrimaryLayer::beginFrame() bool WaylandEglPrimaryLayer::endFrame(const QRegion &renderedRegion, const QRegion &damagedRegion) { + // Flush rendering commands to the dmabuf. + glFlush(); + m_damageJournal.add(damagedRegion); return true; }