Skip to content

Commit

Permalink
fix: example issue
Browse files Browse the repository at this point in the history
  • Loading branch information
simbleau committed Feb 8, 2024
1 parent 23aa7c7 commit dc9e188
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/scenes/src/svg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ pub fn svg_function_of<R: AsRef<str>>(
let start = Instant::now();
let mut new_scene = SceneFragment::new();
let mut builder = SceneBuilder::for_fragment(&mut new_scene);
vello_svg::render_tree(&mut builder, &svg, None);
vello_svg::render_tree(&mut builder, &svg);
let resolution = Vec2::new(svg.size.width() as f64, svg.size.height() as f64);
eprintln!("Encoded svg {name} in {:?}", start.elapsed());
(new_scene, resolution)
Expand Down

0 comments on commit dc9e188

Please sign in to comment.