From e128e6c08dc0a735b1a8c6cc61097eaf0f61fb83 Mon Sep 17 00:00:00 2001 From: Simon Zeni Date: Wed, 13 Jan 2021 22:49:07 -0500 Subject: render: drop egl parameters from wlr_renderer_autocreate --- backend/drm/renderer.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'backend/drm') diff --git a/backend/drm/renderer.c b/backend/drm/renderer.c index f2d7677c..783fec74 100644 --- a/backend/drm/renderer.c +++ b/backend/drm/renderer.c @@ -29,8 +29,7 @@ bool init_drm_renderer(struct wlr_drm_backend *drm, return false; } - renderer->wlr_rend = wlr_renderer_autocreate(EGL_PLATFORM_GBM_KHR, - renderer->gbm); + renderer->wlr_rend = wlr_renderer_autocreate(&drm->backend); if (!renderer->wlr_rend) { wlr_log(WLR_ERROR, "Failed to create EGL/WLR renderer"); goto error_gbm; -- cgit v1.2.3