diff options
Diffstat (limited to 'wgpu/src')
-rw-r--r-- | wgpu/src/lib.rs | 3 | ||||
-rw-r--r-- | wgpu/src/renderer.rs | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index 1d63abbf..4e0cbc60 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -55,6 +55,3 @@ pub(crate) use transformation::Transformation; #[cfg(any(feature = "image", feature = "svg"))] mod image; - -#[cfg(any(feature = "image", feature = "svg"))] -pub(crate) use self::image::Image; diff --git a/wgpu/src/renderer.rs b/wgpu/src/renderer.rs index d9ef9fc4..1da19b1a 100644 --- a/wgpu/src/renderer.rs +++ b/wgpu/src/renderer.rs @@ -4,7 +4,7 @@ use crate::{ }; #[cfg(any(feature = "image", feature = "svg"))] -use crate::{image, Image}; +use crate::image::{self, Image}; use iced_native::{ layout, Background, Color, Layout, MouseCursor, Point, Rectangle, Vector, |