aboutsummaryrefslogtreecommitdiff
path: root/backend/headless
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-03-31 18:49:43 -0400
committeremersion <contact@emersion.fr>2018-03-31 18:49:43 -0400
commit33a2eb4b7775d1a3ab2b767739c1f1f054683d22 (patch)
treecddffb9add6cb5cde4b25305ec1d9e14772ef9c1 /backend/headless
parent00e12278c7f94ff7d9505e359c671d50e8622020 (diff)
Untie wlr_backend from wlr_renderer
Diffstat (limited to 'backend/headless')
-rw-r--r--backend/headless/backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/headless/backend.c b/backend/headless/backend.c
index 663bc13b..5bc48240 100644
--- a/backend/headless/backend.c
+++ b/backend/headless/backend.c
@@ -114,7 +114,7 @@ struct wlr_backend *wlr_headless_backend_create(struct wl_display *display) {
return NULL;
}
- backend->renderer = wlr_gles2_renderer_create(&backend->backend);
+ backend->renderer = wlr_gles2_renderer_create(&backend->egl);
if (backend->renderer == NULL) {
wlr_log(L_ERROR, "Failed to create renderer");
}