Rename gl-init-rs to gl_init

Fix #20
This commit is contained in:
Tomaka17 2014-08-13 13:42:59 +02:00
parent cd3fc3075a
commit ca83db39c7
4 changed files with 18 additions and 18 deletions

View file

@ -1,9 +1,9 @@
extern crate init = "gl-init-rs";
extern crate libc;
extern crate gl;
extern crate gl_init;
extern crate libc;
fn main() {
let window = init::Window::new().unwrap();
let window = gl_init::Window::new().unwrap();
unsafe { window.make_current() };
@ -27,6 +27,6 @@ fn main() {
gl::Clear(gl::COLOR_BUFFER_BIT);
window.swap_buffers();
println!("{}", window.wait_events().collect::<Vec<init::Event>>());
println!("{}", window.wait_events().collect::<Vec<gl_init::Event>>());
}
}