diff options
| author | Micha White <botahamec@outlook.com> | 2023-02-05 10:35:28 -0500 |
|---|---|---|
| committer | Micha White <botahamec@outlook.com> | 2023-02-05 10:35:28 -0500 |
| commit | a3196cda9f2e1e8f44f6315a2ef33d26f6dc36f9 (patch) | |
| tree | 057f19f489fe2d9c5741ff47969bc73afdce2b08 | |
| parent | 4b789a715cf7b42f5ae282b8218976fd577664be (diff) | |
Don't show terminal for bunnymark's release mode
| -rw-r--r-- | alligator_render/examples/bunnymark.rs | 2 |
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}; |
