summaryrefslogtreecommitdiff
path: root/alligator_render/examples/black.rs
diff options
context:
space:
mode:
Diffstat (limited to 'alligator_render/examples/black.rs')
-rw-r--r--alligator_render/examples/black.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/alligator_render/examples/black.rs b/alligator_render/examples/black.rs
index c66b080..622429f 100644
--- a/alligator_render/examples/black.rs
+++ b/alligator_render/examples/black.rs
@@ -17,5 +17,5 @@ fn main() {
let renderer = Renderer::new(&config).unwrap();
println!("Startup time: {:?}", start.elapsed());
- renderer.run(&update);
+ renderer.run(Box::leak(Box::new(update)));
}