Update egui to 0.32

This commit is contained in:
2025-07-11 15:21:13 +02:00
parent 276508713f
commit c59febd924
6 changed files with 443 additions and 660 deletions

View File

@ -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
}