mirror of
https://gitlab.freedesktop.org/emersion/libliftoff.git
synced 2025-02-06 08:46:26 +01:00
plane: ignore SCALING_FILTER when set to Default
This behaves the same when the property isn't supported.
This commit is contained in:
parent
79f1647d67
commit
0ce48717b4
1 changed files with 4 additions and 0 deletions
4
plane.c
4
plane.c
|
@ -246,6 +246,10 @@ plane_apply(struct liftoff_plane *plane, struct liftoff_layer *layer,
|
|||
layer_prop->value == DRM_MODE_ROTATE_0) {
|
||||
continue; /* Layer isn't rotated */
|
||||
}
|
||||
if (strcmp(layer_prop->name, "SCALING_FILTER") == 0 &&
|
||||
layer_prop->value == 0) {
|
||||
continue; /* Layer uses default scaling filter */
|
||||
}
|
||||
drmModeAtomicSetCursor(req, cursor);
|
||||
return -EINVAL;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue