diff options
Diffstat (limited to 'osdep/macos/libmpv_helper.swift')
-rw-r--r-- | osdep/macos/libmpv_helper.swift | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/osdep/macos/libmpv_helper.swift b/osdep/macos/libmpv_helper.swift index 4ac8f2748f..8b1c697da2 100644 --- a/osdep/macos/libmpv_helper.swift +++ b/osdep/macos/libmpv_helper.swift @@ -75,8 +75,8 @@ class LibmpvHelper { -> UnsafeMutableRawPointer? in let symbol: CFString = CFStringCreateWithCString( kCFAllocatorDefault, name, kCFStringEncodingASCII) - let indentifier = CFBundleGetBundleWithIdentifier("com.apple.opengl" as CFString) - let addr = CFBundleGetFunctionPointerForName(indentifier, symbol) + let identifier = CFBundleGetBundleWithIdentifier("com.apple.opengl" as CFString) + let addr = CFBundleGetFunctionPointerForName(identifier, symbol) if symbol as String == "glFlush" { return unsafeBitCast(glDummy, to: UnsafeMutableRawPointer.self) |