From 19d120b8b19d85e9cea5c3e8851b8809d072b8bd Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Mon, 15 Dec 2014 14:06:32 +0100 Subject: Update for Rustc for win32 --- examples/multiwindow.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'examples') 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)); }); } -- cgit v1.2.3