aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
authorSimon Zeni <simon@bl4ckb0ne.ca>2021-01-13 22:49:07 -0500
committerSimon Ser <contact@emersion.fr>2021-01-16 08:57:42 +0100
commite128e6c08dc0a735b1a8c6cc61097eaf0f61fb83 (patch)
treefaa2b6327b407f91786a823cdc83c3b1d797ed35 /backend/drm
parentaffc59454ec9b650cc345ab5ec0c310e8350427f (diff)
render: drop egl parameters from wlr_renderer_autocreate
Diffstat (limited to 'backend/drm')
-rw-r--r--backend/drm/renderer.c3
1 files changed, 1 insertions, 2 deletions
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;