diff options
Diffstat (limited to 'wgpu/src/lib.rs')
-rw-r--r-- | wgpu/src/lib.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/wgpu/src/lib.rs b/wgpu/src/lib.rs index 2ef9992c..875cbcde 100644 --- a/wgpu/src/lib.rs +++ b/wgpu/src/lib.rs @@ -163,6 +163,8 @@ impl Renderer { device, encoder, &mut engine.staging_belt, + #[cfg(any(feature = "svg", feature = "image"))] + &mut self.image_cache.borrow_mut(), &layer.quads, viewport.projection(), scale_factor, |