Rename crate to glutin
This commit is contained in:
parent
3ac5f6d115
commit
02ba9d33d7
6 changed files with 19 additions and 19 deletions
|
|
@ -1,7 +1,7 @@
|
|||
#[phase(plugin)]
|
||||
extern crate gl_generator;
|
||||
|
||||
use gl_init;
|
||||
use glutin;
|
||||
|
||||
#[cfg(not(target_os = "android"))]
|
||||
mod gl {
|
||||
|
|
@ -18,7 +18,7 @@ pub struct Context {
|
|||
gl: gl::Gl
|
||||
}
|
||||
|
||||
pub fn load(window: &gl_init::Window) -> Context {
|
||||
pub fn load(window: &glutin::Window) -> Context {
|
||||
let gl = gl::Gl::load_with(|symbol| window.get_proc_address(symbol));
|
||||
|
||||
let version = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue