backends/drm: Add missing file descriptor initializer

We need to initialize file descriptors to -1 explicitly.

BUG: 453470
This commit is contained in:
Vlad Zahorodnii 2022-05-06 19:04:17 +03:00 committed by Aleix Pol Gonzalez
parent 9a5d34cf6c
commit ad45deaf80

View file

@ -34,6 +34,7 @@ DrmGpuBuffer::DrmGpuBuffer(DrmGpu *gpu, QSize size, uint32_t format, uint64_t mo
, m_strides(strides)
, m_offsets(offsets)
, m_planeCount(planeCount)
, m_fds({-1, -1, -1, -1})
{
}