diff options
| author | HampusM <hampus@hampusmat.com> | 2026-06-26 22:53:25 +0200 |
|---|---|---|
| committer | HampusM <hampus@hampusmat.com> | 2026-06-30 18:24:46 +0200 |
| commit | 4a5e3e612e8b597dd1734afefd01324b74fd99ab (patch) | |
| tree | bd875cc1ca639b2cc957fb9746e6a816fc2e4047 /engine/src/windowing.rs | |
| parent | 3cdd8c99bac3833bef0c4795aab1fde8d71e59df (diff) | |
refactor(engine): make window creation attrs struct not a wrapper
Diffstat (limited to 'engine/src/windowing.rs')
| -rw-r--r-- | engine/src/windowing.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engine/src/windowing.rs b/engine/src/windowing.rs index a690ca4..5866c47 100644 --- a/engine/src/windowing.rs +++ b/engine/src/windowing.rs @@ -220,7 +220,7 @@ fn update_stuff( tracing::info!( window_id = ?window_id, - window_title = window_creation_attrs.title(), + window_title = %window_creation_attrs.title, "Window creation completed" ); } @@ -606,12 +606,12 @@ impl App MessageToApp::CreateWindow(window_ent_id, window_creation_attrs) => { tracing::info!( "Creating window with title {}", - window_creation_attrs.title() + window_creation_attrs.title ); let winit_window = Arc::new( match event_loop - .create_window(window_creation_attrs.clone().into_inner()) + .create_window(window_creation_attrs.clone().into_window_attrs()) { Ok(window) => window, Err(err) => { |
