mirror of
https://github.com/storytold/winit.git
synced 2026-11-24 13:20:44 +01:00
Fix typo in cocoa module
This commit is contained in:
1 parent
d3fbbfb7a7
commit
c1ca5d1d87
1 file changed
+1
-1
@@ -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