From 867b344a6c05ec3bf8751bda0c2f2e2b3c3778c2 Mon Sep 17 00:00:00 2001 From: Micha White Date: Sun, 25 Sep 2022 23:13:34 -0400 Subject: Removed the unnecessary window size --- examples/square.rs | 4 ---- 1 file changed, 4 deletions(-) (limited to 'examples/square.rs') 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() }; -- cgit v1.2.3