Update egui to 0.32
This commit is contained in:
@ -22,7 +22,7 @@ pub fn rasterize<'a, Blend: BlendFn>(
|
||||
point_to_pixel: TSTransform,
|
||||
triangles: impl Iterator<Item = [&'a Vertex; 3]>,
|
||||
) -> ColorImage {
|
||||
let mut image = ColorImage::new([width, height], Color32::TRANSPARENT);
|
||||
let mut image = ColorImage::filled([width, height], Color32::TRANSPARENT);
|
||||
rasterize_onto::<Blend>(&mut image, point_to_pixel, triangles);
|
||||
image
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user