diff options
| author | Micha White <botahamec@outlook.com> | 2022-09-20 10:50:08 -0400 |
|---|---|---|
| committer | Micha White <botahamec@outlook.com> | 2022-09-20 10:50:08 -0400 |
| commit | 1b65982f87856af2b14ac2eefe666316b2d05c82 (patch) | |
| tree | 7c72b4865286406d29aea496ee0a5fe3f54145ae /examples | |
| parent | 3fbde7b0807d1aff50fef058db6e73b090669875 (diff) | |
Added some runtime configuration methods
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/black.rs | 2 | ||||
| -rw-r--r-- | examples/square.rs | 2 |
2 files changed, 2 insertions, 2 deletions
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(), |
