diff --git a/src/platformsupport/scenes/qpainter/qpaintersurfacetexture_wayland.cpp b/src/platformsupport/scenes/qpainter/qpaintersurfacetexture_wayland.cpp index a65f09da83..fd395353e8 100644 --- a/src/platformsupport/scenes/qpainter/qpaintersurfacetexture_wayland.cpp +++ b/src/platformsupport/scenes/qpainter/qpaintersurfacetexture_wayland.cpp @@ -43,6 +43,7 @@ void QPainterSurfaceTextureWayland::update(const QRegion ®ion) const QImage image = buffer->data(); const QRegion dirtyRegion = mapRegion(m_pixmap->item()->surfaceToBufferMatrix(), region); QPainter painter(&m_image); + painter.setCompositionMode(QPainter::CompositionMode_Source); // The buffer data is copied as the buffer interface returns a QImage // which doesn't own the data of the underlying wl_shm_buffer object.