wlr_scene: Add documentation to wlr_scene_create about how to destroy the allocated resources.

This commit is contained in:
Philipp Kaeser 2024-08-04 11:43:17 +02:00 committed by Kirill Primak
parent 7e13dfdd4d
commit 42df9414fb

View File

@ -306,6 +306,9 @@ struct wlr_scene_node *wlr_scene_node_at(struct wlr_scene_node *node,
/**
* Create a new scene-graph.
*
* The graph is also a wlr_scene_node. Associated resources can be destroyed
* through wlr_scene_node_destroy().
*/
struct wlr_scene *wlr_scene_create(void);