mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-17 21:13:48 -07:00
update for latest wlroots
This commit is contained in:
@@ -17,6 +17,12 @@ CCompositor::CCompositor() {
|
||||
return;
|
||||
}
|
||||
|
||||
const auto DRMFD = wlr_backend_get_drm_fd(m_sWLRBackend);
|
||||
if (DRMFD < 0) {
|
||||
Debug::log(CRIT, "Couldn't query the DRM FD!");
|
||||
return;
|
||||
}
|
||||
|
||||
m_sWLRRenderer = wlr_renderer_autocreate(m_sWLRBackend);
|
||||
|
||||
if (!m_sWLRRenderer) {
|
||||
|
Reference in New Issue
Block a user