From 619a9750251a1bff5bef7a1bcd22ee80a56a453f Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Thu, 29 Apr 2021 09:46:34 +0200 Subject: 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. --- backend/drm/renderer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/drm') 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; -- cgit v1.2.3