summaryrefslogtreecommitdiffstats
path: root/wgpu
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-08-27 14:44:51 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2020-08-27 14:44:51 +0200
commitecbee66bd652228204568c17dd5e8a97b0a59ee0 (patch)
tree4cf505fa16b288c9a4b2004a5b6511d432758bdb /wgpu
parent83e037829c67d010afa1f3318252f2e40535352e (diff)
downloadiced-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.rs2
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],
}
}