diff options
author | 2020-08-27 14:44:51 +0200 | |
---|---|---|
committer | 2020-08-27 14:44:51 +0200 | |
commit | ecbee66bd652228204568c17dd5e8a97b0a59ee0 (patch) | |
tree | 4cf505fa16b288c9a4b2004a5b6511d432758bdb /wgpu | |
parent | 83e037829c67d010afa1f3318252f2e40535352e (diff) | |
download | iced-ecbee66bd652228204568c17dd5e8a97b0a59ee0.tar.gz iced-ecbee66bd652228204568c17dd5e8a97b0a59ee0.tar.bz2 iced-ecbee66bd652228204568c17dd5e8a97b0a59ee0.zip |
Fix `layers` initialization in `image::Atlas`
Diffstat (limited to 'wgpu')
-rw-r--r-- | wgpu/src/image/atlas.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wgpu/src/image/atlas.rs b/wgpu/src/image/atlas.rs index 99e9995f..8d110fc4 100644 --- a/wgpu/src/image/atlas.rs +++ b/wgpu/src/image/atlas.rs @@ -47,7 +47,7 @@ impl Atlas { Atlas { texture, texture_view, - layers: vec![Layer::Empty, Layer::Empty], + layers: vec![Layer::Empty], } } |