mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2025-01-23 10:26:34 +11:00
Fix typo in cocoa module
This commit is contained in:
parent
d3fbbfb7a7
commit
c1ca5d1d87
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Reference in a new issue