diff options
Diffstat (limited to 'wgpu/src/renderer.rs')
| -rw-r--r-- | wgpu/src/renderer.rs | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/wgpu/src/renderer.rs b/wgpu/src/renderer.rs index f27a4b8a..ad081383 100644 --- a/wgpu/src/renderer.rs +++ b/wgpu/src/renderer.rs @@ -229,9 +229,9 @@ impl Renderer {                      border_radius: *border_radius as f32,                  });              } -            Primitive::Image { path, bounds } => { +            Primitive::Image { handle, bounds } => {                  layer.images.push(Image { -                    path: path.clone(), +                    handle: handle.clone(),                      position: [bounds.x, bounds.y],                      scale: [bounds.width, bounds.height],                  }); | 
