mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-12-23 08:56:29 -05:00
Implement drm (egl) buffer attaching
This commit is contained in:
parent
750d0ad458
commit
67369173aa
19 changed files with 308 additions and 23 deletions
|
|
@ -149,6 +149,10 @@ struct wlr_backend *wlr_drm_backend_create(struct wl_display *display,
|
|||
goto error_event;
|
||||
}
|
||||
|
||||
if (!wlr_egl_bind_display(&drm->renderer.egl, display)) {
|
||||
wlr_log(L_INFO, "Failed to bind egl/wl display: %s", egl_error());
|
||||
}
|
||||
|
||||
return backend;
|
||||
|
||||
error_event:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue