From d4ec18d844f5d20a39f62fccb62a6f6c193c120a Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Wed, 29 Jul 2020 15:35:50 +0300 Subject: [PATCH] Fix build --- plugins/platforms/drm/scene_qpainter_drm_backend.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/platforms/drm/scene_qpainter_drm_backend.cpp b/plugins/platforms/drm/scene_qpainter_drm_backend.cpp index 1ad46bfabc..897ea383cc 100644 --- a/plugins/platforms/drm/scene_qpainter_drm_backend.cpp +++ b/plugins/platforms/drm/scene_qpainter_drm_backend.cpp @@ -83,7 +83,7 @@ void DrmQPainterBackend::initOutput(DrmOutput *output) delete (*it).buffer[1]; auto initBuffer = [it, output, this] (int index) { it->buffer[index] = m_backend->createBuffer(output->pixelSize()); - if (o.buffer[index]->map()) { + if (it->buffer[index]->map()) { it->buffer[index]->image()->fill(Qt::black); } };