egldmabuf: if modifiers are not supported, send DRM_FORMAT_MOD_INVALID
An empty modifier list will get ignored and does not mean implicit modifiers are allowed CCBUG: 448284
This commit is contained in:
parent
e20f09666b
commit
031bb305e3
1 changed files with 1 additions and 1 deletions
|
@ -460,7 +460,7 @@ void EglDmabuf::setSupportedFormatsAndModifiers()
|
|||
}
|
||||
}
|
||||
}
|
||||
supportedFormats.insert(format, QSet<uint64_t>());
|
||||
supportedFormats.insert(format, {DRM_FORMAT_MOD_INVALID});
|
||||
}
|
||||
qCDebug(KWIN_OPENGL) << "EGL driver advertises" << supportedFormats.count() << "supported dmabuf formats" << (eglQueryDmaBufModifiersEXT != nullptr ? "with" : "without") << "modifiers";
|
||||
|
||||
|
|
Loading…
Reference in a new issue