Crtc: fix get_primary_plane
[android/external-libkmsxx.git] / 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;
        }