Merge branch 'egl-try-gbm-after-device' into 'master'

render/egl: try GBM platform if device platform fails to initialize

See merge request wlroots/wlroots!5368
This commit is contained in:
Icenowy Zheng 2026-06-11 19:10:29 +08:00
commit b5ebe467ca

View file

@ -582,9 +582,8 @@ struct wlr_egl *wlr_egl_create_with_drm_fd(int drm_fd) {
wlr_log(WLR_DEBUG, "Using EGL_PLATFORM_DEVICE_EXT");
return egl;
}
goto error;
}
/* Falls back on GBM in case the device was not found */
/* Falls back on GBM in case the device was not found or do not work */
} else {
wlr_log(WLR_DEBUG, "EXT_platform_device not supported");
}