summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmil Ernerfeldt <emil.ernerfeldt@gmail.com>2024-02-02 15:53:01 +0100
committerEmil Ernerfeldt <emil.ernerfeldt@gmail.com>2024-02-02 15:53:01 +0100
commitc5352cf6c16b28d00432e5abe2c6410f23a70d03 (patch)
tree44df078e43ddffa125d6bdfc2f5df317b9b20df4
parent60e272f1929e0e4c9a83d1048aa3a102250144be (diff)
Remove profile scope from `tessellate_shape`
-rw-r--r--crates/epaint/src/tessellator.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/crates/epaint/src/tessellator.rs b/crates/epaint/src/tessellator.rs
index 925524f2..c753b737 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) => {