mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-04-14 08:22:25 -04:00
render: use the first free swapchain slot
Signed-off-by: liupeng <liupeng01@kylinos.cn>
This commit is contained in:
parent
5529aae3e6
commit
7dcb3fcd4b
1 changed files with 1 additions and 0 deletions
|
|
@ -90,6 +90,7 @@ struct wlr_buffer *wlr_swapchain_acquire(struct wlr_swapchain *swapchain) {
|
|||
return slot_acquire(swapchain, slot);
|
||||
}
|
||||
free_slot = slot;
|
||||
break;
|
||||
}
|
||||
if (free_slot == NULL) {
|
||||
wlr_log(WLR_ERROR, "No free output buffer slot");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue