diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/wlr/backend.h | 2 | ||||
-rw-r--r-- | include/wlr/backend/interface.h | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/wlr/backend.h b/include/wlr/backend.h index f87e88bd..f92857eb 100644 --- a/include/wlr/backend.h +++ b/include/wlr/backend.h @@ -19,7 +19,7 @@ struct wlr_backend { }; struct wlr_backend *wlr_backend_autocreate(struct wl_display *display); -bool wlr_backend_init(struct wlr_backend *backend); +bool wlr_backend_start(struct wlr_backend *backend); void wlr_backend_destroy(struct wlr_backend *backend); struct wlr_egl *wlr_backend_get_egl(struct wlr_backend *backend); 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 |