aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/multiwindow.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/multiwindow.rs b/examples/multiwindow.rs
index d3961b3..62af7d5 100644
--- a/examples/multiwindow.rs
+++ b/examples/multiwindow.rs
@@ -20,15 +20,15 @@ fn main() {
let window2 = glutin::Window::new().unwrap();
let window3 = glutin::Window::new().unwrap();
- spawn(proc() {
+ spawn(move || {
run(window1, (0.0, 1.0, 0.0, 1.0));
});
- spawn(proc() {
+ spawn(move || {
run(window2, (0.0, 0.0, 1.0, 1.0));
});
- spawn(proc() {
+ spawn(move || {
run(window3, (1.0, 0.0, 0.0, 1.0));
});
}