Profiling support (#743)

This commit is contained in:
Thierry Berger
2024-11-19 16:33:26 +01:00
committed by GitHub
parent ff79f4c674
commit 510237cc29
56 changed files with 185 additions and 635 deletions

View File

@@ -43,7 +43,7 @@ impl EntityWithGraphics {
}
#[cfg(feature = "dim2")]
let selection_material = ColorMaterial {
let selection_material = bevy_sprite::ColorMaterial {
color: Color::from(Srgba::rgb(1.0, 0.0, 0.0)),
texture: None,
};
@@ -109,7 +109,7 @@ impl EntityWithGraphics {
}
#[cfg(feature = "dim2")]
let material = ColorMaterial {
let material = bevy_sprite::ColorMaterial {
color: bevy_color,
texture: None,
};