diff options
author | 2020-02-28 15:17:16 +0100 | |
---|---|---|
committer | 2020-02-28 15:17:16 +0100 | |
commit | bab7dbcaef5d637e6452ef814b78595d9004971c (patch) | |
tree | db82ee28634d499749816f69eaac4f303d088c14 /wgpu/src/lib.rs | |
parent | 69c81aa50dc30bc7a05df4393e45bc3d478db8b5 (diff) | |
parent | 88d4cd097044077127e1b3aa8fcb04afed185491 (diff) | |
download | iced-bab7dbcaef5d637e6452ef814b78595d9004971c.tar.gz iced-bab7dbcaef5d637e6452ef814b78595d9004971c.tar.bz2 iced-bab7dbcaef5d637e6452ef814b78595d9004971c.zip |
Merge pull request #154 from Maldela/atlas
Texture atlas
Diffstat (limited to 'wgpu/src/lib.rs')
-rw-r--r-- | wgpu/src/lib.rs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index 4f2b732d..4e0cbc60 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -30,7 +30,6 @@ pub mod triangle; pub mod widget; pub mod window; -mod image; mod primitive; mod quad; mod renderer; @@ -51,6 +50,8 @@ pub use viewport::Viewport; #[doc(no_inline)] pub use widget::*; -pub(crate) use self::image::Image; pub(crate) use quad::Quad; pub(crate) use transformation::Transformation; + +#[cfg(any(feature = "image", feature = "svg"))] +mod image; |