diff options
Diffstat (limited to 'wgpu/src')
-rw-r--r-- | wgpu/src/image/atlas.rs | 8 |
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, .. } => { |