diff options
| author | Micha White <botahamec@outlook.com> | 2022-09-25 23:13:34 -0400 |
|---|---|---|
| committer | Micha White <botahamec@outlook.com> | 2022-09-25 23:13:34 -0400 |
| commit | 867b344a6c05ec3bf8751bda0c2f2e2b3c3778c2 (patch) | |
| tree | 6e03e9cf6e1f25fcb9982e112b4a62e523a908d8 /examples | |
| parent | 374c97ca348bb1d8df4cb125a9e68b855365daf5 (diff) | |
Removed the unnecessary window size
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/square.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/examples/square.rs b/examples/square.rs index 90e2fdb..d03a4a9 100644 --- a/examples/square.rs +++ b/examples/square.rs @@ -1,7 +1,5 @@ #![cfg_attr(not(debug_assertions), windows_subsystem = "windows")] -use std::num::NonZeroU32; - use alligator_render::{Instance, RenderWindowConfig, Renderer}; use winit::event_loop::EventLoop; @@ -10,8 +8,6 @@ fn main() { let config = RenderWindowConfig { title: "Pokemon: Black and White (New Edition)", instance_capacity: 1, - default_width: NonZeroU32::new(640).unwrap(), - default_height: NonZeroU32::new(480).unwrap(), ..Default::default() }; |
