mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-15 08:56:26 -05:00
render: drop egl parameters from wlr_renderer_autocreate
This commit is contained in:
parent
affc59454e
commit
e128e6c08d
8 changed files with 35 additions and 15 deletions
|
|
@ -547,8 +547,7 @@ struct wlr_backend *wlr_x11_backend_create(struct wl_display *display,
|
|||
}
|
||||
x11->allocator = &gbm_alloc->base;
|
||||
|
||||
x11->renderer = wlr_renderer_autocreate(EGL_PLATFORM_GBM_KHR,
|
||||
gbm_alloc->gbm_device);
|
||||
x11->renderer = wlr_renderer_autocreate(&x11->backend);
|
||||
if (x11->renderer == NULL) {
|
||||
wlr_log(WLR_ERROR, "Failed to create renderer");
|
||||
goto error_event;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue