diff options
author | tomaka <pierre.krieger1708@gmail.com> | 2014-09-22 09:53:36 +0200 |
---|---|---|
committer | tomaka <pierre.krieger1708@gmail.com> | 2014-09-22 09:53:36 +0200 |
commit | 07734275139d2e2abd0b800f9fd53871ffa88ceb (patch) | |
tree | b413bb12605c28ad91502bd5c2218e844d433965 /examples/window.rs | |
parent | 795d04c123312a623306d1ddfa24f2becaa4bae3 (diff) | |
parent | 02ba9d33d75b6bb723f3d3f8d7090136956e4317 (diff) | |
download | glutin-07734275139d2e2abd0b800f9fd53871ffa88ceb.tar.gz glutin-07734275139d2e2abd0b800f9fd53871ffa88ceb.zip |
Merge pull request #42 from tomaka/rename-glutin
Rename crate to glutin
Diffstat (limited to 'examples/window.rs')
-rw-r--r-- | examples/window.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/window.rs b/examples/window.rs index 66ca7ca..b2ad82e 100644 --- a/examples/window.rs +++ b/examples/window.rs @@ -5,7 +5,7 @@ #[phase(plugin, link)] extern crate android_glue; -extern crate gl_init; +extern crate glutin; mod support; @@ -13,7 +13,7 @@ mod support; android_start!(main) fn main() { - let window = gl_init::Window::new().unwrap(); + let window = glutin::Window::new().unwrap(); unsafe { window.make_current() }; @@ -23,6 +23,6 @@ fn main() { context.draw_frame((0.0, 1.0, 0.0, 1.0)); window.swap_buffers(); - println!("{}", window.wait_events().collect::<Vec<gl_init::Event>>()); + println!("{}", window.wait_events().collect::<Vec<glutin::Event>>()); } } |