From e6732ee32837d14023bdf85fbe3b08311337a0a6 Mon Sep 17 00:00:00 2001 From: Laurent Pinchart Date: Mon, 17 Jun 2019 02:29:48 +0300 Subject: 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 --- kms++/src/plane.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kms++/src/plane.cpp') 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; -- cgit v1.2.3