wlr_scene: Add documentation to wlr_scene_buffer_from_node

This commit is contained in:
Alexander Orzechowski 2022-06-05 13:03:35 -04:00 committed by Simon Ser
parent e07c77f846
commit 61c157269e

View file

@ -317,6 +317,10 @@ struct wlr_scene_tree *wlr_scene_tree_create(struct wlr_scene_tree *parent);
struct wlr_scene_surface *wlr_scene_surface_create(struct wlr_scene_tree *parent,
struct wlr_surface *surface);
/**
* If this node represents a wlr_scene_buffer, that buffer will be returned. It
* is not legal to feed a node that does not represent a wlr_scene_buffer.
*/
struct wlr_scene_buffer *wlr_scene_buffer_from_node(struct wlr_scene_node *node);
/**