mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-24 08:21:25 +01:00
Changed enumerate_adapters to be able to work with custom backends (#8230)
Co-authored-by: Andreas Reich <r_andreas2@web.de>
This commit is contained in:
1 parent
1072b87894
commit
4652ea4189
12 files changed
+86
-33
No files matched your search
@@ -203,7 +203,7 @@ pub(crate) async fn get_adapter_with_capabilities_or_from_env(
|
||||
);
|
||||
adapter
|
||||
} else {
|
||||
let adapters = instance.enumerate_adapters(Backends::all());
|
||||
let adapters = instance.enumerate_adapters(Backends::all()).await;
|
||||
|
||||
let mut chosen_adapter = None;
|
||||
for adapter in adapters {
|
||||
|
||||
Reference in new issue
Block a user