[platforms/drm] Align plane type enum with kernel
This is just a code cosmetic change to have the same values internally like the kernel for the type enum. In the logic there should not be a difference since the enum values are mapped at runtime.
This commit is contained in:
parent
cec4e57b52
commit
daa1cf9402
2 changed files with 4 additions and 4 deletions
|
@ -83,9 +83,9 @@ bool DrmPlane::initProps()
|
|||
});
|
||||
|
||||
QVector<QByteArray> typeNames = {
|
||||
QByteArrayLiteral("Primary"),
|
||||
QByteArrayLiteral("Cursor"),
|
||||
QByteArrayLiteral("Overlay"),
|
||||
QByteArrayLiteral("Primary"),
|
||||
QByteArrayLiteral("Cursor")
|
||||
};
|
||||
|
||||
const QVector<QByteArray> rotationNames{
|
||||
|
|
|
@ -52,9 +52,9 @@ public:
|
|||
};
|
||||
|
||||
enum class TypeIndex {
|
||||
Primary = 0,
|
||||
Overlay = 0,
|
||||
Primary,
|
||||
Cursor,
|
||||
Overlay,
|
||||
Count
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue