diff options
author | Felix Kaaman <trundmatu@gmail.com> | 2015-04-30 18:25:55 +0200 |
---|---|---|
committer | Felix Kaaman <trundmatu@gmail.com> | 2015-04-30 18:25:55 +0200 |
commit | c1ca5d1d87166daa20d4ae2a9a0a7c8d4ba2ba63 (patch) | |
tree | 52c440a2f185e93cc82c0039cd1296c3a9b0e9ea /src/api | |
parent | d3fbbfb7a777f8f7b6a39b66dd982cbc8cb802ba (diff) | |
download | glutin-c1ca5d1d87166daa20d4ae2a9a0a7c8d4ba2ba63.tar.gz glutin-c1ca5d1d87166daa20d4ae2a9a0a7c8d4ba2ba63.zip |
Fix typo in cocoa module
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/cocoa/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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()) |