diff options
Diffstat (limited to 'alligator_render/examples/bunnymark.rs')
| -rw-r--r-- | alligator_render/examples/bunnymark.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/alligator_render/examples/bunnymark.rs b/alligator_render/examples/bunnymark.rs index a343ce5..7ef97b7 100644 --- a/alligator_render/examples/bunnymark.rs +++ b/alligator_render/examples/bunnymark.rs @@ -1,6 +1,3 @@ -#![feature(once_cell)] -#![feature(let_else)] - use std::{num::NonZeroU32, time::Instant}; use alligator_render::{ @@ -105,6 +102,10 @@ struct Bunny { } fn main() { + #[cfg(feature = "profile-with-tracy")] + profiling::tracy_client::Client::start(); + profiling::register_thread!("main"); + // configure the render window let config = RenderWindowConfig { title: "BunnyMark", |
