diff options
Diffstat (limited to 'glow/src')
-rw-r--r-- | glow/src/image.rs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/glow/src/image.rs b/glow/src/image.rs index 955fd1ab..c32b2162 100644 --- a/glow/src/image.rs +++ b/glow/src/image.rs @@ -172,11 +172,16 @@ impl Pipeline { layer::Image::Raster { handle: _, bounds } => (None, bounds), #[cfg(feature = "svg")] - layer::Image::Vector { handle, bounds } => { + layer::Image::Vector { + handle, + color, + bounds, + } => { let size = [bounds.width, bounds.height]; ( vector_cache.upload( handle, + *color, size, _scale_factor, &mut gl, |