diff --git a/plugins/platforms/drm/drm_object_plane.cpp b/plugins/platforms/drm/drm_object_plane.cpp index 3fdc9dc351..1dd7a7e243 100644 --- a/plugins/platforms/drm/drm_object_plane.cpp +++ b/plugins/platforms/drm/drm_object_plane.cpp @@ -83,9 +83,9 @@ bool DrmPlane::initProps() }); QVector typeNames = { - QByteArrayLiteral("Primary"), - QByteArrayLiteral("Cursor"), QByteArrayLiteral("Overlay"), + QByteArrayLiteral("Primary"), + QByteArrayLiteral("Cursor") }; const QVector rotationNames{ diff --git a/plugins/platforms/drm/drm_object_plane.h b/plugins/platforms/drm/drm_object_plane.h index d23b21dede..b0ad9f732e 100644 --- a/plugins/platforms/drm/drm_object_plane.h +++ b/plugins/platforms/drm/drm_object_plane.h @@ -52,9 +52,9 @@ public: }; enum class TypeIndex { - Primary = 0, + Overlay = 0, + Primary, Cursor, - Overlay, Count };