mirror of
https://github.com/eliasstepanik/imgui-rs.git
synced 2026-01-11 21:48:36 +00:00
[examples] support_gfx: Remove unused label on loop
This loop is not nested, so the label has no use whatsoever.
This commit is contained in:
parent
48364b77dd
commit
2272fbe5e4
@ -74,7 +74,7 @@ pub fn run<F: FnMut(&Ui) -> bool>(title: String, clear_color: [f32; 4], mut run_
|
||||
let mut mouse_state = MouseState::default();
|
||||
let mut quit = false;
|
||||
|
||||
'running: loop {
|
||||
loop {
|
||||
events_loop.poll_events(|event| {
|
||||
use glutin::WindowEvent::*;
|
||||
use glutin::ElementState::Pressed;
|
||||
@ -145,7 +145,7 @@ pub fn run<F: FnMut(&Ui) -> bool>(title: String, clear_color: [f32; 4], mut run_
|
||||
}
|
||||
});
|
||||
if quit {
|
||||
break 'running;
|
||||
break;
|
||||
}
|
||||
|
||||
let now = Instant::now();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user