mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
buffer: introduce wlr_buffer_finish()
This commit is contained in:
parent
5eed5d622d
commit
7963ba6a0d
12 changed files with 38 additions and 9 deletions
|
|
@ -24,6 +24,7 @@ struct cairo_buffer {
|
|||
|
||||
static void cairo_buffer_destroy(struct wlr_buffer *wlr_buffer) {
|
||||
struct cairo_buffer *buffer = wl_container_of(wlr_buffer, buffer, base);
|
||||
wlr_buffer_finish(wlr_buffer);
|
||||
cairo_surface_destroy(buffer->surface);
|
||||
free(buffer);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue