diff options
Diffstat (limited to 'kms++util')
-rw-r--r-- | kms++util/src/resourcemanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kms++util/src/resourcemanager.cpp b/kms++util/src/resourcemanager.cpp index f751147..c4bf7f8 100644 --- a/kms++util/src/resourcemanager.cpp +++ b/kms++util/src/resourcemanager.cpp @@ -138,7 +138,7 @@ Plane* ResourceManager::reserve_plane(Crtc* crtc, PlaneType type, PixelFormat fo return nullptr; for (Plane* plane : crtc->get_possible_planes()) { - if (plane->plane_type() == type) + if (plane->plane_type() != type) continue; if (format != PixelFormat::Undefined && !plane->supports_format(format)) |