Improve Instance::available_backend_features() on macOS. (#5199)

This commit is contained in:
Bruce Mitchener authored and GitHub committed 2024-02-05 12:13:32 -05:00
1 parent 32e70bc163
commit 01e94bc9b3
1 file changed
+2 -2
+2 -2
View File
@@ -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) {