mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-25 06:59:42 -05:00
buffer: listen to renderer destroy in wlr_client_buffer
When a renderer is destroyed, so are all textures. Reset the texture in that case.
This commit is contained in:
parent
5bef385ffc
commit
9e3576426d
2 changed files with 17 additions and 0 deletions
|
|
@ -151,6 +151,7 @@ struct wlr_client_buffer {
|
|||
// private state
|
||||
|
||||
struct wl_listener source_destroy;
|
||||
struct wl_listener renderer_destroy;
|
||||
|
||||
size_t n_ignore_locks;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue