mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-25 23:01:30 +11:00
Merge pull request #381 from tomaka/fix-examples
Fix examples so that travis passes again
This commit is contained in:
commit
e2307f3113
|
@ -20,15 +20,15 @@ fn main() {
|
||||||
let window2 = glutin::Window::new().unwrap();
|
let window2 = glutin::Window::new().unwrap();
|
||||||
let window3 = 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));
|
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));
|
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));
|
run(window3, (1.0, 0.0, 0.0, 1.0));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue