aboutsummaryrefslogtreecommitdiff
path: root/backend/headless
diff options
context:
space:
mode:
Diffstat (limited to 'backend/headless')
-rw-r--r--backend/headless/backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/headless/backend.c b/backend/headless/backend.c
index ba5fde80..f0b9e0ce 100644
--- a/backend/headless/backend.c
+++ b/backend/headless/backend.c
@@ -131,7 +131,7 @@ static bool backend_init(struct wlr_headless_backend *backend,
backend->renderer = renderer;
const struct wlr_drm_format_set *formats =
- wlr_renderer_get_dmabuf_render_formats(backend->renderer);
+ wlr_renderer_get_render_formats(backend->renderer);
if (formats == NULL) {
wlr_log(WLR_ERROR, "Failed to get available DMA-BUF formats from renderer");
return false;