diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-04-17 15:42:24 +0200 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-04-17 15:42:24 +0200 |
commit | e2307f31137cf438de8f064f2b2487aa92543ca2 (patch) | |
tree | 4557a90fa91f35e6567658ddd80094f93974a8ad | |
parent | 5494ef9b4e29404f4366ccc1ef0cace2af7b640b (diff) | |
parent | c68fdf3af2ca1c72d6939e7368336b7239094220 (diff) | |
download | glutin-e2307f31137cf438de8f064f2b2487aa92543ca2.tar.gz glutin-e2307f31137cf438de8f064f2b2487aa92543ca2.zip |
Merge pull request #381 from tomaka/fix-examples
Fix examples so that travis passes again
-rw-r--r-- | examples/multiwindow.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/multiwindow.rs b/examples/multiwindow.rs index ce97266..a9a5bac 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)); }); |