summaryrefslogtreecommitdiff
path: root/alligator_render/examples/bunnymark.rs
diff options
context:
space:
mode:
authorMicha White <botahamec@outlook.com>2022-10-21 20:10:15 -0400
committerMicha White <botahamec@outlook.com>2022-10-21 20:10:15 -0400
commit9950ae8d49d692f698dfafd544748df2bced6d7d (patch)
treeb606e2b341edca67e6073b75b7f3cc999eec5464 /alligator_render/examples/bunnymark.rs
parent11077150cbc909e414cf5b27f18d02629e6b01da (diff)
Changed up some dependencies
Diffstat (limited to 'alligator_render/examples/bunnymark.rs')
-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",