mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Minor fixes
This commit is contained in:
parent
009c3747a8
commit
f6f9c40965
4 changed files with 25 additions and 9 deletions
|
|
@ -143,7 +143,7 @@ struct wlr_backend *wlr_drm_backend_create(struct wl_display *display,
|
|||
goto error_event;
|
||||
}
|
||||
|
||||
if (!wlr_drm_renderer_init(&drm->renderer, drm->fd)) {
|
||||
if (!wlr_drm_renderer_init(drm, &drm->renderer)) {
|
||||
wlr_log(L_ERROR, "Failed to initialize renderer");
|
||||
goto error_event;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue