aboutsummaryrefslogtreecommitdiff
path: root/include/wlr/backend/interface.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/wlr/backend/interface.h')
-rw-r--r--include/wlr/backend/interface.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/wlr/backend/interface.h b/include/wlr/backend/interface.h
index d9212795..f03e95d9 100644
--- a/include/wlr/backend/interface.h
+++ b/include/wlr/backend/interface.h
@@ -12,6 +12,10 @@ struct wlr_backend_impl {
struct wlr_renderer *(*get_renderer)(struct wlr_backend *backend);
};
+/**
+ * Initializes common state on a wlr_backend and sets the implementation to the
+ * provided wlr_backend_impl reference.
+ */
void wlr_backend_init(struct wlr_backend *backend,
const struct wlr_backend_impl *impl);