diff options
-rw-r--r-- | backend/backend.c | 2 | ||||
-rw-r--r-- | render/egl.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/backend/backend.c b/backend/backend.c index 23e212b6..b583855e 100644 --- a/backend/backend.c +++ b/backend/backend.c @@ -91,6 +91,7 @@ static struct wlr_backend *attempt_wl_backend(struct wl_display *display) { return backend; } +#ifdef WLR_HAS_X11_BACKEND static struct wlr_backend *attempt_x11_backend(struct wl_display *display, const char *x11_display) { struct wlr_backend *backend = wlr_x11_backend_create(display, x11_display); @@ -105,6 +106,7 @@ static struct wlr_backend *attempt_x11_backend(struct wl_display *display, return backend; } +#endif struct wlr_backend *wlr_backend_autocreate(struct wl_display *display) { struct wlr_backend *backend = wlr_multi_backend_create(display); diff --git a/render/egl.c b/render/egl.c index 473d1319..f398974d 100644 --- a/render/egl.c +++ b/render/egl.c @@ -474,7 +474,7 @@ int wlr_egl_get_dmabuf_modifiers(struct wlr_egl *egl, int format, uint64_t **modifiers) { if (!egl->egl_exts.dmabuf_import || !egl->egl_exts.dmabuf_import_modifiers) { - wlr_log(L_ERROR, "dmabuf extension not present"); + wlr_log(L_DEBUG, "dmabuf extension not present"); return -1; } |