diff options
author | 2021-02-13 16:18:40 +0100 | |
---|---|---|
committer | 2021-02-13 16:18:40 +0100 | |
commit | 4de164dcc7bc3524c8b20f9c734bc1a4ae4c83bc (patch) | |
tree | 849fcf5f863ff9067d22b38104137b58bfa54720 /wgpu/src/image/atlas/entry.rs | |
parent | 9f5c2eb0c43daa61b19769322cf3692b29e0ac0f (diff) | |
parent | e1b1227f0c2214b0ade4004b7985a137e7d56890 (diff) | |
download | iced-4de164dcc7bc3524c8b20f9c734bc1a4ae4c83bc.tar.gz iced-4de164dcc7bc3524c8b20f9c734bc1a4ae4c83bc.tar.bz2 iced-4de164dcc7bc3524c8b20f9c734bc1a4ae4c83bc.zip |
Merge pull request #392 from unrelentingtech/image-debloat
Add image format options to reduce code bloat
Diffstat (limited to 'wgpu/src/image/atlas/entry.rs')
-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(), |