Fix typo in cocoa module
This commit is contained in:
parent
d3fbbfb7a7
commit
c1ca5d1d87
1 changed files with 1 additions and 1 deletions
|
|
@ -770,7 +770,7 @@ impl GlContext for Window {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn get_proc_address(&self, addr: &str) -> *const libc::c_void {
|
fn get_proc_address(&self, addr: &str) -> *const libc::c_void {
|
||||||
let symbol_name: CFString = FromStr::from_str(_addr).unwrap();
|
let symbol_name: CFString = FromStr::from_str(addr).unwrap();
|
||||||
let framework_name: CFString = FromStr::from_str("com.apple.opengl").unwrap();
|
let framework_name: CFString = FromStr::from_str("com.apple.opengl").unwrap();
|
||||||
let framework = unsafe {
|
let framework = unsafe {
|
||||||
CFBundleGetBundleWithIdentifier(framework_name.as_concrete_TypeRef())
|
CFBundleGetBundleWithIdentifier(framework_name.as_concrete_TypeRef())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue