mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
swapchain, damage_ring: Drop buffer age
This commit is contained in:
parent
eebaca8dbf
commit
bfcaa4bc44
12 changed files with 13 additions and 119 deletions
|
|
@ -2089,7 +2089,7 @@ bool wlr_scene_output_build_state(struct wlr_scene_output *scene_output,
|
|||
swapchain = output->swapchain;
|
||||
}
|
||||
|
||||
struct wlr_buffer *buffer = wlr_swapchain_acquire(swapchain, NULL);
|
||||
struct wlr_buffer *buffer = wlr_swapchain_acquire(swapchain);
|
||||
if (buffer == NULL) {
|
||||
return false;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue