Rustup
This commit is contained in:
parent
2e1fe8283f
commit
d33c138164
8 changed files with 32 additions and 48 deletions
|
|
@ -6,7 +6,7 @@ extern crate android_glue;
|
|||
|
||||
extern crate glutin;
|
||||
|
||||
use std::thread::Thread;
|
||||
use std::thread;
|
||||
|
||||
mod support;
|
||||
|
||||
|
|
@ -22,15 +22,15 @@ fn main() {
|
|||
let window2 = glutin::Window::new().unwrap();
|
||||
let window3 = glutin::Window::new().unwrap();
|
||||
|
||||
let t1 = Thread::scoped(move || {
|
||||
let t1 = thread::scoped(move || {
|
||||
run(window1, (0.0, 1.0, 0.0, 1.0));
|
||||
});
|
||||
|
||||
let t2 = Thread::scoped(move || {
|
||||
let t2 = thread::scoped(move || {
|
||||
run(window2, (0.0, 0.0, 1.0, 1.0));
|
||||
});
|
||||
|
||||
let t3 = Thread::scoped(move || {
|
||||
let t3 = thread::scoped(move || {
|
||||
run(window3, (1.0, 0.0, 0.0, 1.0));
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue