don't fail when encountering render-only devices
This commit is contained in:
parent
806e10fcd9
commit
02d818bfee
1 changed files with 3 additions and 3 deletions
|
|
@ -386,9 +386,9 @@ pub fn init_backend(
|
|||
state.launch_xwayland(Some(primary));
|
||||
|
||||
for (dev, path) in udev_dispatcher.as_source_ref().device_list() {
|
||||
state
|
||||
.device_added(dev, path.into(), dh, false)
|
||||
.with_context(|| format!("Failed to add drm device: {}", path.display()))?;
|
||||
if let Err(err) = state.device_added(dev, path.into(), dh, false) {
|
||||
warn!("Failed to add device {}: {:?}", path.display(), err);
|
||||
}
|
||||
}
|
||||
|
||||
// HACK: amdgpu doesn't like us initializing vulkan too early..
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue