summaryrefslogtreecommitdiffstats
path: root/wgpu/src/image
diff options
context:
space:
mode:
authorLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-07-09 17:05:45 +0200
committerLibravatar Héctor Ramón Jiménez <hector0193@gmail.com>2022-07-09 17:07:40 +0200
commit33a24b58210c88571f789ee27495e3ee3a55e3a4 (patch)
tree1317f471594d5e1e2718d69e55f679240ca20a40 /wgpu/src/image
parent15f794b7a89efb3299cb85b392ec13af145fb0fd (diff)
downloadiced-33a24b58210c88571f789ee27495e3ee3a55e3a4.tar.gz
iced-33a24b58210c88571f789ee27495e3ee3a55e3a4.tar.bz2
iced-33a24b58210c88571f789ee27495e3ee3a55e3a4.zip
Run `cargo fmt`
Diffstat (limited to 'wgpu/src/image')
-rw-r--r--wgpu/src/image/atlas.rs8
1 files changed, 1 insertions, 7 deletions
diff --git a/wgpu/src/image/atlas.rs b/wgpu/src/image/atlas.rs
index a5bfd9c0..953dd4e2 100644
--- a/wgpu/src/image/atlas.rs
+++ b/wgpu/src/image/atlas.rs
@@ -113,13 +113,7 @@ impl Atlas {
match &entry {
Entry::Contiguous(allocation) => {
self.upload_allocation(
- &buffer,
- width,
- height,
- padding,
- 0,
- allocation,
- encoder,
+ &buffer, width, height, padding, 0, allocation, encoder,
);
}
Entry::Fragmented { fragments, .. } => {