diff --git a/CHANGELOG.md b/CHANGELOG.md index 27ff1445..81f9002a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -82,7 +82,7 @@ NOTE: `eframe`, `egui_web` and `egui_glium` has their own changelogs! * Backend: pointer (mouse/touch) position and buttons are now passed to egui in the event stream. * `DragValue::range` is now called `clamp_range` and also clamps incoming values. * Renamed `Triangles` to `Mesh`. -* The tesselator now wraps the clip rectangle and mesh in `struct ClippedMesh(Rect, Mesh)`. +* The tessellator now wraps the clip rectangle and mesh in `struct ClippedMesh(Rect, Mesh)`. * `Mesh::split_to_u16` now returns a 16-bit indexed `Mesh16`. ### Fixed 🐛 diff --git a/egui_demo_lib/benches/benchmark.rs b/egui_demo_lib/benches/benchmark.rs index 526a49ac..7a104291 100644 --- a/egui_demo_lib/benches/benchmark.rs +++ b/egui_demo_lib/benches/benchmark.rs @@ -70,12 +70,12 @@ pub fn criterion_benchmark(c: &mut Criterion) { }); let galley = font.layout_multiline(LOREM_IPSUM_LONG.to_owned(), wrap_width); - let mut tesselator = egui::epaint::Tessellator::from_options(Default::default()); + let mut tessellator = egui::epaint::Tessellator::from_options(Default::default()); let mut mesh = egui::epaint::Mesh::default(); - c.bench_function("tesselate text", |b| { + c.bench_function("tessellate text", |b| { b.iter(|| { let fake_italics = false; - tesselator.tessellate_text( + tessellator.tessellate_text( &fonts, egui::Pos2::ZERO, &galley,