aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2021-04-29 09:46:34 +0200
committerSimon Ser <contact@emersion.fr>2021-04-29 09:46:34 +0200
commit619a9750251a1bff5bef7a1bcd22ee80a56a453f (patch)
tree2f9f3f31f88a86222ff0d0ef2cb2f9cd73b0b4ae /backend/drm
parent6bf2406dbfe4ecd47ff6584632e78cc184b82154 (diff)
render: remove wlr_ prefix from wlr_renderer_autocreate_with_drm_fd
This function is only required because the DRM backend still needs to perform multi-GPU magic under-the-hood. Remove the wlr_ prefix to make it clear it's not a candidate for being made public.
Diffstat (limited to 'backend/drm')
-rw-r--r--backend/drm/renderer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c
index cebf8588..c19df83b 100644
--- a/backend/drm/renderer.c
+++ b/backend/drm/renderer.c
@@ -29,7 +29,7 @@ bool init_drm_renderer(struct wlr_drm_backend *drm,
return false;
}
- renderer->wlr_rend = wlr_renderer_autocreate_with_drm_fd(drm->fd);
+ renderer->wlr_rend = renderer_autocreate_with_drm_fd(drm->fd);
if (!renderer->wlr_rend) {
wlr_log(WLR_ERROR, "Failed to create renderer");
goto error_gbm;