diff options
author | Tomaka17 <pierre.krieger1708@gmail.com> | 2014-07-30 18:12:39 +0200 |
---|---|---|
committer | Tomaka17 <pierre.krieger1708@gmail.com> | 2014-07-30 18:12:39 +0200 |
commit | 270e290af9f83590fe81504ec555d3a7da3cc303 (patch) | |
tree | 94b75cd9c28b7e9b76f217879d41df12f9961169 /examples | |
parent | ec956688cd7fa43ccb3cbaf6b54890f400715662 (diff) | |
download | glutin-270e290af9f83590fe81504ec555d3a7da3cc303.tar.gz glutin-270e290af9f83590fe81504ec555d3a7da3cc303.zip |
make_current() is now unsafe
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); |