From f085bc2f02964c3cf27e398529b79871c5c619af Mon Sep 17 00:00:00 2001 From: Emil Ernerfeldt Date: Fri, 2 Feb 2024 15:53:01 +0100 Subject: [PATCH] Remove profile scope from `tessellate_shape` --- crates/epaint/src/tessellator.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/crates/epaint/src/tessellator.rs b/crates/epaint/src/tessellator.rs index 925524f2f93..c753b7374df 100644 --- a/crates/epaint/src/tessellator.rs +++ b/crates/epaint/src/tessellator.rs @@ -1205,8 +1205,6 @@ impl Tessellator { /// * `shape`: the shape to tessellate. /// * `out`: triangles are appended to this. pub fn tessellate_shape(&mut self, shape: Shape, out: &mut Mesh) { - crate::profile_function!(); - match shape { Shape::Noop => {} Shape::Vec(vec) => {