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, 2 insertions, 2 deletions
diff --git a/include/wlr/backend/interface.h b/include/wlr/backend/interface.h
index adca23eb..b0814da5 100644
--- a/include/wlr/backend/interface.h
+++ b/include/wlr/backend/interface.h
@@ -6,12 +6,12 @@
#include <wlr/egl.h>
struct wlr_backend_impl {
- bool (*init)(struct wlr_backend *backend);
+ bool (*start)(struct wlr_backend *backend);
void (*destroy)(struct wlr_backend *backend);
struct wlr_egl *(*get_egl)(struct wlr_backend *backend);
};
-void wlr_backend_create(struct wlr_backend *backend,
+void wlr_backend_init(struct wlr_backend *backend,
const struct wlr_backend_impl *impl);
#endif