aboutsummaryrefslogtreecommitdiffstats
path: root/examples/window.rs
diff options
context:
space:
mode:
authorTomaka17 <pierre.krieger1708@gmail.com>2014-09-21 11:33:09 +0200
committerTomaka17 <pierre.krieger1708@gmail.com>2014-09-21 11:34:41 +0200
commit02ba9d33d75b6bb723f3d3f8d7090136956e4317 (patch)
treea833e9144d2b4b4859fea75c5e5e65e27fb58620 /examples/window.rs
parent3ac5f6d115afa3907047a8a55b58c698b47d3b28 (diff)
downloadglutin-02ba9d33d75b6bb723f3d3f8d7090136956e4317.tar.gz
glutin-02ba9d33d75b6bb723f3d3f8d7090136956e4317.zip
Rename crate to glutin
Diffstat (limited to 'examples/window.rs')
-rw-r--r--examples/window.rs6
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>>());
}
}