summaryrefslogtreecommitdiffstats
path: root/wgpu
diff options
context:
space:
mode:
Diffstat (limited to 'wgpu')
-rw-r--r--wgpu/src/image/raster.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/wgpu/src/image/raster.rs b/wgpu/src/image/raster.rs
index bd6c1f45..2b4d4af3 100644
--- a/wgpu/src/image/raster.rs
+++ b/wgpu/src/image/raster.rs
@@ -103,7 +103,7 @@ impl Cache {
if let Memory::Host(image) = memory {
let (width, height) = image.dimensions();
- let entry = atlas.upload(width, height, &image, device, encoder)?;
+ let entry = atlas.upload(width, height, image, device, encoder)?;
*memory = Memory::Device(entry);
}