summaryrefslogtreecommitdiff
path: root/alligator_render/examples/bunnymark.rs
diff options
context:
space:
mode:
authorMicha White <botahamec@outlook.com>2023-02-05 10:35:28 -0500
committerMicha White <botahamec@outlook.com>2023-02-05 10:35:28 -0500
commita3196cda9f2e1e8f44f6315a2ef33d26f6dc36f9 (patch)
tree057f19f489fe2d9c5741ff47969bc73afdce2b08 /alligator_render/examples/bunnymark.rs
parent4b789a715cf7b42f5ae282b8218976fd577664be (diff)
Don't show terminal for bunnymark's release mode
Diffstat (limited to 'alligator_render/examples/bunnymark.rs')
-rw-r--r--alligator_render/examples/bunnymark.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/alligator_render/examples/bunnymark.rs b/alligator_render/examples/bunnymark.rs
index f9aed1a..fea69ca 100644
--- a/alligator_render/examples/bunnymark.rs
+++ b/alligator_render/examples/bunnymark.rs
@@ -1,3 +1,5 @@
+#![cfg_attr(not(debug_assertions), windows_subsystem = "windows")]
+
use std::{num::NonZeroU32, sync::Arc, time::Instant};
use alligator_render::{Instance, InstanceId, RenderWindowConfig, Renderer};