[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:
Malik Olivier Boussejra 2018-08-12 10:44:07 +09:00
parent 48364b77dd
commit 2272fbe5e4

View File

@ -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();