From c68fdf3af2ca1c72d6939e7368336b7239094220 Mon Sep 17 00:00:00 2001 From: Pierre Krieger Date: Fri, 17 Apr 2015 15:23:13 +0200 Subject: [PATCH] Fix examples so that travis passes again --- examples/multiwindow.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/multiwindow.rs b/examples/multiwindow.rs index ce97266c..a9a5bacb 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(); - let t1 = thread::scoped(move || { + let t1 = thread::spawn(move || { run(window1, (0.0, 1.0, 0.0, 1.0)); }); - let t2 = thread::scoped(move || { + let t2 = thread::spawn(move || { run(window2, (0.0, 0.0, 1.0, 1.0)); }); - let t3 = thread::scoped(move || { + let t3 = thread::spawn(move || { run(window3, (1.0, 0.0, 0.0, 1.0)); });