Fix build

This commit is contained in:
Vlad Zahorodnii 2020-07-29 15:35:50 +03:00
parent 678944ceb8
commit d4ec18d844

View file

@ -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);
}
};