diff options
Diffstat (limited to 'client/src/window.rs')
-rw-r--r-- | client/src/window.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/window.rs b/client/src/window.rs index 2430479..6ee7fa4 100644 --- a/client/src/window.rs +++ b/client/src/window.rs @@ -41,7 +41,7 @@ impl ApplicationHandler for WindowState { if let Some((win, sta)) = &mut self.window { match event { WindowEvent::Resized(size) => { - sta.renderer.resize(size.width, size.height); + sta.resize(size.width, size.height); } WindowEvent::RedrawRequested => { sta.draw(); |