mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-29 21:00:04 -04:00
Rename crate to glutin
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user