backends/drm: Add missing file descriptor initializer
We need to initialize file descriptors to -1 explicitly. BUG: 453470
This commit is contained in:
parent
9a5d34cf6c
commit
ad45deaf80
1 changed files with 1 additions and 0 deletions
|
@ -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})
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue