From c1ca5d1d87166daa20d4ae2a9a0a7c8d4ba2ba63 Mon Sep 17 00:00:00 2001 From: Felix Kaaman Date: Thu, 30 Apr 2015 18:25:55 +0200 Subject: Fix typo in cocoa module --- src/api/cocoa/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/api/cocoa/mod.rs b/src/api/cocoa/mod.rs index 101cfc0..7114a87 100644 --- a/src/api/cocoa/mod.rs +++ b/src/api/cocoa/mod.rs @@ -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()) -- cgit v1.2.3