Fix typo in cocoa module

This commit is contained in:
Felix Kaaman 2015-04-30 18:25:55 +02:00
parent d3fbbfb7a7
commit c1ca5d1d87

View file

@ -770,7 +770,7 @@ impl GlContext for Window {
}
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 = unsafe {
CFBundleGetBundleWithIdentifier(framework_name.as_concrete_TypeRef())