Remove public exports of gl_common and libc
This commit is contained in:
parent
439d25168e
commit
37262fb228
22 changed files with 29 additions and 52 deletions
|
|
@ -777,7 +777,7 @@ impl GlContext for Window {
|
|||
}
|
||||
}
|
||||
|
||||
fn get_proc_address(&self, addr: &str) -> *const libc::c_void {
|
||||
fn get_proc_address(&self, addr: &str) -> *const () {
|
||||
let symbol_name: CFString = FromStr::from_str(addr).unwrap();
|
||||
let framework_name: CFString = FromStr::from_str("com.apple.opengl").unwrap();
|
||||
let framework = unsafe {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue