mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-06-13 14:32:57 -04:00
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:
commit
b5ebe467ca
1 changed files with 1 additions and 2 deletions
|
|
@ -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");
|
wlr_log(WLR_DEBUG, "Using EGL_PLATFORM_DEVICE_EXT");
|
||||||
return egl;
|
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 {
|
} else {
|
||||||
wlr_log(WLR_DEBUG, "EXT_platform_device not supported");
|
wlr_log(WLR_DEBUG, "EXT_platform_device not supported");
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue