summaryrefslogtreecommitdiff
path: root/libkms++
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen@ti.com>2016-05-27 16:52:23 +0300
committerTomi Valkeinen <tomi.valkeinen@ti.com>2016-05-27 17:24:14 +0300
commit51cbdf3d3b4a1290cf2dfb6a9a80d9294ca35804 (patch)
treed7fc0357a32400c972f61a9d6a316012fdd3d0cf /libkms++
parent6c5a32ba6ec851f275d6af076e73811426fe4ed5 (diff)
Crtc: fix get_primary_plane
Diffstat (limited to 'libkms++')
-rw-r--r--libkms++/crtc.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/libkms++/crtc.cpp b/libkms++/crtc.cpp
index 436cdee..6cbdf0c 100644
--- a/libkms++/crtc.cpp
+++ b/libkms++/crtc.cpp
@@ -86,9 +86,6 @@ Plane* Crtc::get_primary_plane()
if (p->plane_type() != PlaneType::Primary)
continue;
- if (p->crtc_id() != id())
- continue;
-
return p;
}