make_current() is now unsafe
This commit is contained in:
parent
ec956688cd
commit
270e290af9
5 changed files with 9 additions and 8 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue