comparison examples/anmrenderer.rs @ 644:f983a4c98410

Remove unused variables.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Sat, 03 Aug 2019 22:44:01 +0200
parents 01849ffd0180
children 7d92730bf543
comparison
equal deleted inserted replaced
643:01849ffd0180 644:f983a4c98410
132 .set_mode(Mode::TriangleFan) 132 .set_mode(Mode::TriangleFan)
133 .build() 133 .build()
134 .unwrap(); 134 .unwrap();
135 135
136 let mut back_buffer = Framebuffer::back_buffer(surface.size()); 136 let mut back_buffer = Framebuffer::back_buffer(surface.size());
137 let mut frame = 0;
138 let mut i = 0;
139 137
140 'app: loop { 138 'app: loop {
141 for event in surface.poll_events() { 139 for event in surface.poll_events() {
142 match event { 140 match event {
143 WindowEvent::Close | WindowEvent::Key(Key::Escape, _, Action::Release, _) => break 'app, 141 WindowEvent::Close | WindowEvent::Key(Key::Escape, _, Action::Release, _) => break 'app,