river/include/render.c

21 lines
549 B
C

#define WLR_USE_UNSTABLE
#include <wlr/backend.h>
#include <wlr/render/wlr_renderer.h>
struct wlr_backend *zag_wlr_backend_autocreate(struct wl_display *display) {
return wlr_backend_autocreate(display, NULL);
}
struct wlr_renderer *zag_wlr_backend_get_renderer(struct wlr_backend *backend) {
return wlr_backend_get_renderer(backend);
}
bool zag_wlr_backend_start(struct wlr_backend *backend) {
return wlr_backend_start(backend);
}
void zag_wlr_backend_destroy(struct wlr_backend *backend) {
zag_wlr_backend_destroy(backend);
}