mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-31 05:40:04 -04:00
get_proc_address now returns a libc::c_void
This commit is contained in:
@@ -29,7 +29,7 @@ fn main() {
|
||||
|
||||
unsafe { window.make_current() };
|
||||
|
||||
gl::load_with(|symbol| window.get_proc_address(symbol) as *const libc::c_void);
|
||||
gl::load_with(|symbol| window.get_proc_address(symbol));
|
||||
|
||||
let version = {
|
||||
use std::c_str::CString;
|
||||
|
||||
Reference in New Issue
Block a user