Remove profile scope from tessellate_shape

This commit is contained in:
Emil Ernerfeldt
2024-02-02 15:53:01 +01:00
parent 60e272f192
commit c5352cf6c1
-2
View File
@@ -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) => {