summaryrefslogtreecommitdiff
path: root/kms++/src
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2019-06-17 02:29:48 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2020-08-06 01:59:56 +0300
commite6732ee32837d14023bdf85fbe3b08311337a0a6 (patch)
tree4b807ebeec8ed631fbd96bb7ec36270ef56f0aba /kms++/src
parent740c330f4c8ee2e0eb1b5b3dfa44f33ac7a68c7a (diff)
card: Rename has_has_universal_planes to has_universal_planes
The has_has_universal_planes() method name includes a typo, fix it. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'kms++/src')
-rw-r--r--kms++/src/plane.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kms++/src/plane.cpp b/kms++/src/plane.cpp
index b040884..2df51c1 100644
--- a/kms++/src/plane.cpp
+++ b/kms++/src/plane.cpp
@@ -51,7 +51,7 @@ bool Plane::supports_format(PixelFormat fmt) const
PlaneType Plane::plane_type() const
{
- if (card().has_has_universal_planes()) {
+ if (card().has_universal_planes()) {
switch (get_prop_value("type")) {
case DRM_PLANE_TYPE_OVERLAY:
return PlaneType::Overlay;