mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-02-24 00:37:43 +11:00
Change Complete to Break in the README
This commit is contained in:
parent
04ccad1dbc
commit
fe61d81d41
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ fn main() {
|
||||||
events_loop.run_forever(|event| {
|
events_loop.run_forever(|event| {
|
||||||
match event {
|
match event {
|
||||||
winit::Event::WindowEvent { event: winit::WindowEvent::Closed, .. } => {
|
winit::Event::WindowEvent { event: winit::WindowEvent::Closed, .. } => {
|
||||||
winit::ControlFlow::Complete
|
winit::ControlFlow::Break
|
||||||
},
|
},
|
||||||
_ => winit::ControlFlow::Continue,
|
_ => winit::ControlFlow::Continue,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue