mirror of
https://gitlab.freedesktop.org/emersion/libliftoff.git
synced 2024-12-26 21:59:18 +01:00
Log when no layer has been a plane
This commit is contained in:
parent
9a6a7aaa87
commit
30ba835645
1 changed files with 5 additions and 2 deletions
7
alloc.c
7
alloc.c
|
@ -705,8 +705,8 @@ int liftoff_output_apply(struct liftoff_output *output, drmModeAtomicReq *req,
|
|||
}
|
||||
|
||||
liftoff_log(LIFTOFF_DEBUG,
|
||||
"Found plane allocation for output %p with "
|
||||
"score=%d:", (void *)output, result.best_score);
|
||||
"Found plane allocation for output %p with score=%d:",
|
||||
(void *)output, result.best_score);
|
||||
|
||||
/* Apply the best allocation */
|
||||
i = 0;
|
||||
|
@ -725,6 +725,9 @@ int liftoff_output_apply(struct liftoff_output *output, drmModeAtomicReq *req,
|
|||
plane->layer = layer;
|
||||
layer->plane = plane;
|
||||
}
|
||||
if (i == 0) {
|
||||
liftoff_log(LIFTOFF_DEBUG, " (No layer has a plane)");
|
||||
}
|
||||
|
||||
ret = apply_current(device, req);
|
||||
if (ret != 0) {
|
||||
|
|
Loading…
Reference in a new issue