diff options
Diffstat (limited to 'examples')
-rw-r--r-- | examples/window.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/window.rs b/examples/window.rs index 4066fed..daa856b 100644 --- a/examples/window.rs +++ b/examples/window.rs @@ -7,7 +7,7 @@ fn main() { let window = init::Window::new(None, "Hello world!", &Default::default(), None).unwrap(); - window.make_current(); + unsafe { window.make_current() }; gl::load_with(|symbol| window.get_proc_address(symbol) as *const libc::c_void); |