2020-03-21 08:55:42 -07:00
|
|
|
#define WLR_USE_UNSTABLE
|
|
|
|
#include <wlr/backend.h>
|
|
|
|
#include <wlr/render/wlr_renderer.h>
|
|
|
|
|
2020-03-28 03:42:58 -07:00
|
|
|
struct wlr_backend *river_wlr_backend_autocreate(struct wl_display *display) {
|
2020-03-21 08:55:42 -07:00
|
|
|
return wlr_backend_autocreate(display, NULL);
|
|
|
|
}
|
|
|
|
|
2020-03-28 03:42:58 -07:00
|
|
|
struct wlr_renderer *river_wlr_backend_get_renderer(struct wlr_backend *backend) {
|
2020-03-21 08:55:42 -07:00
|
|
|
return wlr_backend_get_renderer(backend);
|
|
|
|
}
|
|
|
|
|
2020-03-28 03:42:58 -07:00
|
|
|
bool river_wlr_backend_start(struct wlr_backend *backend) {
|
2020-03-21 08:55:42 -07:00
|
|
|
return wlr_backend_start(backend);
|
|
|
|
}
|