Fix layers initialization in image::Atlas

This commit is contained in:
Héctor Ramón Jiménez 2020-08-27 14:44:51 +02:00
parent 83e037829c
commit ecbee66bd6

View File

@ -47,7 +47,7 @@ impl Atlas {
Atlas {
texture,
texture_view,
layers: vec![Layer::Empty, Layer::Empty],
layers: vec![Layer::Empty],
}
}