mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-05 21:15:59 +01:00
e804de923d
The previous code would always print "falling back to legacy method", even if the format wasn't ARGB8888. Drop get_fb_for_bo_legacy, since the code can just be inlined without hurting readability. Ideally we should only fallback to drmModeAddFB if the error code indicates the BE failure, but the original PR [1] doesn't say what error code is returned by the kernel. [1]: https://github.com/swaywm/wlroots/pull/2569 |
||
---|---|---|
.. | ||
drm | ||
headless | ||
libinput | ||
multi | ||
noop | ||
session | ||
wayland | ||
x11 | ||
backend.c | ||
meson.build |