diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2015-01-10 08:33:27 +0100 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2015-01-10 08:33:27 +0100 |
commit | f72b09bcb7efee96b05dbcfc34b4a5fd72ef37aa (patch) | |
tree | eb5d69fa2deb0326a4dc43bddb1f4ff6be8c4051 /examples/multiwindow.rs | |
parent | 9d7dbf7eb039d5614976a184082163bc97a319c6 (diff) | |
parent | 469d0eafd1704d5e9a172adfc673708fc76923e9 (diff) | |
download | glutin-f72b09bcb7efee96b05dbcfc34b4a5fd72ef37aa.tar.gz glutin-f72b09bcb7efee96b05dbcfc34b4a5fd72ef37aa.zip |
Merge pull request #190 from tomaka/update-rustc
Update for rust alpha 1.0
Diffstat (limited to 'examples/multiwindow.rs')
-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 fc01ef0..96b5842 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::spawn(move || { + let t1 = Thread::scoped(move || { run(window1, (0.0, 1.0, 0.0, 1.0)); }); - let t2 = Thread::spawn(move || { + let t2 = Thread::scoped(move || { run(window2, (0.0, 0.0, 1.0, 1.0)); }); - let t3 = Thread::spawn(move || { + let t3 = Thread::scoped(move || { run(window3, (1.0, 0.0, 0.0, 1.0)); }); |