Commit daa1cf94 authored by Roman Gilg's avatar Roman Gilg
Browse files

[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.
parent cec4e57b
......@@ -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
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment