From 1b65982f87856af2b14ac2eefe666316b2d05c82 Mon Sep 17 00:00:00 2001 From: Micha White Date: Tue, 20 Sep 2022 10:50:08 -0400 Subject: Added some runtime configuration methods --- examples/black.rs | 2 +- examples/square.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'examples') diff --git a/examples/black.rs b/examples/black.rs index 2c55e67..291fafb 100644 --- a/examples/black.rs +++ b/examples/black.rs @@ -9,7 +9,7 @@ fn main() { let config = RenderWindowConfig { //vsync: false, //mode: alligator_render::config::WindowMode::BorderlessFullscreen, - title: "Black Screen.exe".into(), + title: "Black Screen.exe", ..Default::default() }; diff --git a/examples/square.rs b/examples/square.rs index 394d3ca..078d90a 100644 --- a/examples/square.rs +++ b/examples/square.rs @@ -8,7 +8,7 @@ use winit::event_loop::EventLoop; fn main() { // configure the render window let config = RenderWindowConfig { - title: "Pokemon: Black and White (New Edition)".into(), + title: "Pokemon: Black and White (New Edition)", instance_capacity: 1, default_width: NonZeroU32::new(480).unwrap(), default_height: NonZeroU32::new(480).unwrap(), -- cgit v1.2.3