summaryrefslogtreecommitdiff
path: root/alligator_render/examples
diff options
context:
space:
mode:
Diffstat (limited to 'alligator_render/examples')
-rw-r--r--alligator_render/examples/bunnymark.rs7
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",