aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorPierre Krieger <pierre.krieger1708@gmail.com>2014-12-15 14:06:32 +0100
committerPierre Krieger <pierre.krieger1708@gmail.com>2014-12-15 14:06:32 +0100
commit19d120b8b19d85e9cea5c3e8851b8809d072b8bd (patch)
treeabcd221f50ff66354fa08dafb1c736e546c1986e /examples
parent65dfd5d7cead3b7d52c2e02e31efb2a8a83dc7f7 (diff)
downloadglutin-19d120b8b19d85e9cea5c3e8851b8809d072b8bd.tar.gz
glutin-19d120b8b19d85e9cea5c3e8851b8809d072b8bd.zip
Update for Rustc for win32
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));
});
}