mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
backend: fix return value of attempt_drm_backend
The multi backend was returned instead of the primary DRM backend.
This commit is contained in:
parent
e3fefda023
commit
f6d3efbf4b
1 changed files with 1 additions and 1 deletions
|
|
@ -239,7 +239,7 @@ static struct wlr_backend *attempt_drm_backend(struct wl_display *display,
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
return backend;
|
return primary_drm;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue