mirror of
https://github.com/rust-windowing/winit.git
synced 2026-06-27 07:03:15 -04:00
Fix typo in cocoa module
This commit is contained in:
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user