mirror of
https://github.com/hannobraun/Fornjot
synced 2025-05-09 20:38:30 +00:00
Make name of method more explicit
This commit is contained in:
parent
6e99385041
commit
7e47b2c868
@ -65,7 +65,9 @@ impl ApplicationHandler for DisplayState {
|
||||
window.get_mut()
|
||||
} else {
|
||||
let window = block_on(Window::new(event_loop)).unwrap();
|
||||
self.windows.entry(window.window().id()).or_insert(window)
|
||||
self.windows
|
||||
.entry(window.winit_window().id())
|
||||
.or_insert(window)
|
||||
};
|
||||
|
||||
if let Some(mesh) = self.tri_mesh.take() {
|
||||
@ -149,7 +151,7 @@ impl ApplicationHandler for DisplayState {
|
||||
}
|
||||
|
||||
if !drawn {
|
||||
window.window().request_redraw();
|
||||
window.winit_window().request_redraw();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -57,7 +57,7 @@ impl Window {
|
||||
})
|
||||
}
|
||||
|
||||
pub fn window(&self) -> &winit::window::Window {
|
||||
pub fn winit_window(&self) -> &winit::window::Window {
|
||||
&self.window
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user