We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 86acb53 commit 4ad4cf3Copy full SHA for 4ad4cf3
crates/lambda-rs-platform/src/gfx/api.rs
@@ -14,11 +14,7 @@ if #[cfg(feature = "gfx-with-gl")] {
14
pub use gfx_backend_dx12 as RenderingAPI;
15
} else if #[cfg(all(feature = "detect-platform"))] {
16
pub use default_backend as RenderingAPI;
17
-} else if #[cfg(all(feature = "detect-platform", target_os = "macos"))] {
18
- pub use gfx_backend_metal as RenderingAPI;
19
-} else if #[cfg(all(feature = "detect-platform", unix, not(target_os = "macos")))] {
20
- pub use gfx_backend_gl as RenderingAPI;
21
} else {
22
- panic!("No supported GPU API found for the current platform.");
+ pub use gfx_backend_empty as RenderingAPI;
23
}
24
0 commit comments