aboutsummaryrefslogtreecommitdiff
path: root/backend/x11
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2017-12-17 23:51:04 +0100
committeremersion <contact@emersion.fr>2017-12-17 23:51:04 +0100
commitb99d1f4fcca0f8d7b1d2042f51fdefcc73304e6f (patch)
treefab66d90e45cff436d123eab2f4475ed4f5bb7bc /backend/x11
parentbc5bdb7793d7737a42489ddb07b2fbb7f74a47f5 (diff)
Refactor wlr_egl_init to accept config_attribs
Diffstat (limited to 'backend/x11')
-rw-r--r--backend/x11/backend.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/backend/x11/backend.c b/backend/x11/backend.c
index 0d45cfb5..a218c589 100644
--- a/backend/x11/backend.c
+++ b/backend/x11/backend.c
@@ -311,8 +311,8 @@ struct wlr_backend *wlr_x11_backend_create(struct wl_display *display,
x11->screen = xcb_setup_roots_iterator(xcb_get_setup(x11->xcb_conn)).data;
- if (!wlr_egl_init(&x11->egl, EGL_PLATFORM_X11_KHR,
- x11->screen->root_visual, x11->xlib_conn)) {
+ if (!wlr_egl_init(&x11->egl, EGL_PLATFORM_X11_KHR, x11->xlib_conn, NULL,
+ x11->screen->root_visual)) {
goto error_event;
}