diff options
author | 2020-04-16 09:06:05 +0300 | |
---|---|---|
committer | 2020-04-16 08:06:05 +0200 | |
commit | b23945c78a6e4600cde29b928941297d45cc3d1f (patch) | |
tree | 7d67c1bac3957b66055ce54fb9d8e9936bd8a8b3 /wgpu/src/image.rs | |
parent | 99e020c7b5b56d5407e255cdd4258d658e9c5865 (diff) | |
download | iced-b23945c78a6e4600cde29b928941297d45cc3d1f.tar.gz iced-b23945c78a6e4600cde29b928941297d45cc3d1f.tar.bz2 iced-b23945c78a6e4600cde29b928941297d45cc3d1f.zip |
Change `&mut wgpu::Device` to `&wgpu::Device` (#299)
* Change `&mut wgpu::Device` to `&wgpu::Device`
* Fix for rustfmt
Diffstat (limited to 'wgpu/src/image.rs')
-rw-r--r-- | wgpu/src/image.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wgpu/src/image.rs b/wgpu/src/image.rs index 7145f3f3..ea5dc09d 100644 --- a/wgpu/src/image.rs +++ b/wgpu/src/image.rs @@ -280,7 +280,7 @@ impl Pipeline { pub fn draw( &mut self, - device: &mut wgpu::Device, + device: &wgpu::Device, encoder: &mut wgpu::CommandEncoder, images: &[Image], transformation: Transformation, |