aboutsummaryrefslogtreecommitdiff
path: root/backend/x11/backend.c
diff options
context:
space:
mode:
Diffstat (limited to 'backend/x11/backend.c')
-rw-r--r--backend/x11/backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/x11/backend.c b/backend/x11/backend.c
index 4d825631..dc7c3689 100644
--- a/backend/x11/backend.c
+++ b/backend/x11/backend.c
@@ -593,7 +593,7 @@ struct wlr_backend *wlr_x11_backend_create(struct wl_display *display,
}
const struct wlr_drm_format_set *render_formats =
- wlr_renderer_get_dmabuf_render_formats(x11->renderer);
+ wlr_renderer_get_render_formats(x11->renderer);
if (render_formats == NULL) {
wlr_log(WLR_ERROR, "Failed to get available DMA-BUF formats from renderer");
return false;