backends/drm: don't assume we shouldn't use modifiers without IN_FORMATS
Instead, use a linear modifier
This commit is contained in:
parent
216d0d6c45
commit
bbc5952f19
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ bool DrmPlane::init()
|
|||
}
|
||||
} else {
|
||||
for (uint32_t i = 0; i < p->count_formats; i++) {
|
||||
m_supportedFormats.insert(p->formats[i], {});
|
||||
m_supportedFormats.insert(p->formats[i], {DRM_FORMAT_MOD_LINEAR});
|
||||
}
|
||||
}
|
||||
if (m_supportedFormats.isEmpty()) {
|
||||
|
|
Loading…
Reference in a new issue