mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-30 18:14:18 +01:00
Improve Instance::available_backend_features() on macOS. (#5199)
This commit is contained in:
1 parent
32e70bc163
commit
01e94bc9b3
1 file changed
+2
-2
+2
-2
@@ -1791,9 +1791,9 @@ impl Instance {
|
||||
backends = backends.union(Backends::VULKAN);
|
||||
}
|
||||
|
||||
// GL Vulkan on Mac is only available through angle.
|
||||
// GL on Mac is only available through angle.
|
||||
if cfg!(target_os = "macos") && cfg!(feature = "angle") {
|
||||
backends = backends.union(Backends::VULKAN);
|
||||
backends = backends.union(Backends::GL);
|
||||
}
|
||||
} else {
|
||||
if cfg!(webgpu) {
|
||||
|
||||
Reference in new issue
Block a user