mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Improve Instance::available_backend_features() on macOS. (#5199)
This commit is contained in:
@@ -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