mirror of
https://github.com/hannobraun/Fornjot
synced 2025-06-24 20:28:56 +00:00
Update name of function parameter
This commit is contained in:
parent
bd64a812e2
commit
8e8543d08c
@ -194,9 +194,9 @@ impl ApplicationHandler<Displayable> for Viewer {
|
||||
fn user_event(
|
||||
&mut self,
|
||||
event_loop: &ActiveEventLoop,
|
||||
to_display: Displayable,
|
||||
displayable: Displayable,
|
||||
) {
|
||||
let window = block_on(Window::new(to_display, event_loop)).unwrap();
|
||||
let window = block_on(Window::new(displayable, event_loop)).unwrap();
|
||||
self.windows.insert(window.winit_window().id(), window);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user