mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-10 20:51:29 +11:00
Fix cfg'ed backend imports
This commit is contained in:
parent
f04da3af9d
commit
d15994fe44
|
@ -14,10 +14,12 @@ pub mod mux;
|
||||||
|
|
||||||
mux! {
|
mux! {
|
||||||
#[cfg(vk)]
|
#[cfg(vk)]
|
||||||
|
pub mod vulkan;
|
||||||
|
}
|
||||||
|
mux! {
|
||||||
|
#[cfg(dx12)]
|
||||||
pub mod dx12;
|
pub mod dx12;
|
||||||
}
|
}
|
||||||
#[cfg(not(target_os = "macos"))]
|
|
||||||
pub mod vulkan;
|
|
||||||
|
|
||||||
/// This isn't great but is expedient.
|
/// This isn't great but is expedient.
|
||||||
pub type Error = Box<dyn std::error::Error>;
|
pub type Error = Box<dyn std::error::Error>;
|
||||||
|
|
Loading…
Reference in a new issue