aboutsummaryrefslogtreecommitdiff
path: root/backend/x11
diff options
context:
space:
mode:
Diffstat (limited to 'backend/x11')
-rw-r--r--backend/x11/backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/x11/backend.c b/backend/x11/backend.c
index 90658f26..f598aea1 100644
--- a/backend/x11/backend.c
+++ b/backend/x11/backend.c
@@ -314,7 +314,7 @@ struct wlr_backend *wlr_x11_backend_create(struct wl_display *display,
goto error_event;
}
- x11->renderer = wlr_gles2_renderer_create(&x11->backend);
+ x11->renderer = wlr_gles2_renderer_create(&x11->egl);
if (x11->renderer == NULL) {
wlr_log(L_ERROR, "Failed to create renderer");
goto error_egl;