Crtc: fix get_primary_plane
authorTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 27 May 2016 13:52:23 +0000 (16:52 +0300)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 27 May 2016 14:24:14 +0000 (17:24 +0300)
libkms++/crtc.cpp

index 436cdeeba584fdc512c39ea43f7f266946d02f47..6cbdf0cf878800565a94b389fb557cd1e4c5367d 100644 (file)
@@ -86,9 +86,6 @@ Plane* Crtc::get_primary_plane()
                if (p->plane_type() != PlaneType::Primary)
                        continue;
 
-               if (p->crtc_id() != id())
-                       continue;
-
                return p;
        }