summaryrefslogtreecommitdiff
path: root/kms++/src
diff options
context:
space:
mode:
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 2df51c1..ffab3b5 100644
--- a/kms++/src/plane.cpp
+++ b/kms++/src/plane.cpp
@@ -83,7 +83,7 @@ vector<Crtc*> Plane::get_possible_crtcs() const
auto iter = find_if(crtcs.begin(), crtcs.end(), [idx](Crtc* crtc) { return crtc->idx() == idx; });
if (iter == crtcs.end())
- throw runtime_error("get_possible_crtcs: crtc missing");
+ continue;
v.push_back(*iter);
}