diff options
author | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-01-13 22:49:07 -0500 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-01-16 08:57:42 +0100 |
commit | e128e6c08dc0a735b1a8c6cc61097eaf0f61fb83 (patch) | |
tree | faa2b6327b407f91786a823cdc83c3b1d797ed35 /backend/headless | |
parent | affc59454ec9b650cc345ab5ec0c310e8350427f (diff) |
render: drop egl parameters from wlr_renderer_autocreate
Diffstat (limited to 'backend/headless')
-rw-r--r-- | backend/headless/backend.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/backend/headless/backend.c b/backend/headless/backend.c index d48c4953..02e3774a 100644 --- a/backend/headless/backend.c +++ b/backend/headless/backend.c @@ -219,8 +219,7 @@ struct wlr_backend *wlr_headless_backend_create(struct wl_display *display) { goto error_dup; } - struct wlr_renderer *renderer = wlr_renderer_autocreate( - EGL_PLATFORM_GBM_KHR, gbm_alloc->gbm_device); + struct wlr_renderer *renderer = wlr_renderer_autocreate(&backend->backend); if (!renderer) { wlr_log(WLR_ERROR, "Failed to create renderer"); goto error_renderer; |