aboutsummaryrefslogtreecommitdiff
path: root/backend/headless
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2021-04-15 10:22:06 -0400
committerSimon Ser <contact@emersion.fr>2021-04-15 17:10:06 +0200
commit84dea55b20b60c229a5e31ccd37b58c96cba611a (patch)
treeb1b5aa818919249dd4e703027052a68c797750a1 /backend/headless
parent004cf887b70aace0e13db8e38a2c3d4df55852b3 (diff)
render: rename get_dmabuf_render_formats into get_render_formats
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;