mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
scene: listen to renderer destroy in wlr_scene_buffer
When a renderer is destroyed, so are all textures. Reset the texture in that case.
This commit is contained in:
parent
3d9f330ee0
commit
859373b253
2 changed files with 16 additions and 0 deletions
|
|
@ -191,6 +191,7 @@ struct wlr_scene_buffer {
|
|||
bool buffer_is_opaque;
|
||||
|
||||
struct wl_listener buffer_release;
|
||||
struct wl_listener renderer_destroy;
|
||||
};
|
||||
|
||||
/** A viewport for an output in the scene-graph */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue