diff options
author | 2020-06-05 21:18:22 +0300 | |
---|---|---|
committer | 2021-02-13 15:53:24 +0100 | |
commit | 8f126c212b887b2621cd8220bc4a52ba4febb1eb (patch) | |
tree | 5ec5abca6b01139e6679ede53ec5432af0eb01a9 /wgpu/src/image/atlas | |
parent | 9f5c2eb0c43daa61b19769322cf3692b29e0ac0f (diff) | |
download | iced-8f126c212b887b2621cd8220bc4a52ba4febb1eb.tar.gz iced-8f126c212b887b2621cd8220bc4a52ba4febb1eb.tar.bz2 iced-8f126c212b887b2621cd8220bc4a52ba4febb1eb.zip |
Add image format options to reduce code bloat, fixes #376
Diffstat (limited to 'wgpu/src/image/atlas')
-rw-r--r-- | wgpu/src/image/atlas/entry.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wgpu/src/image/atlas/entry.rs b/wgpu/src/image/atlas/entry.rs index 0310fc54..9b3f16df 100644 --- a/wgpu/src/image/atlas/entry.rs +++ b/wgpu/src/image/atlas/entry.rs @@ -10,7 +10,7 @@ pub enum Entry { } impl Entry { - #[cfg(feature = "image")] + #[cfg(feature = "image_rs")] pub fn size(&self) -> (u32, u32) { match self { Entry::Contiguous(allocation) => allocation.size(), |