summaryrefslogtreecommitdiffstats
path: root/wgpu/src/image/atlas/allocator.rs
diff options
context:
space:
mode:
Diffstat (limited to 'wgpu/src/image/atlas/allocator.rs')
-rw-r--r--wgpu/src/image/atlas/allocator.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/wgpu/src/image/atlas/allocator.rs b/wgpu/src/image/atlas/allocator.rs
index 03effdcb..204a5c26 100644
--- a/wgpu/src/image/atlas/allocator.rs
+++ b/wgpu/src/image/atlas/allocator.rs
@@ -46,10 +46,10 @@ impl Region {
(rectangle.min.x as u32, rectangle.min.y as u32)
}
- pub fn size(&self) -> iced_graphics::Size<u32> {
+ pub fn size(&self) -> crate::core::Size<u32> {
let size = self.allocation.rectangle.size();
- iced_graphics::Size::new(size.width as u32, size.height as u32)
+ crate::core::Size::new(size.width as u32, size.height as u32)
}
}