diff options
author | sfan5 <sfan5@live.de> | 2021-11-29 13:12:02 +0100 |
---|---|---|
committer | sfan5 <sfan5@live.de> | 2021-12-15 12:29:10 +0100 |
commit | 632059816adde518c67f6606e3cfdef5bec18b52 (patch) | |
tree | b5d265830778cb7cea19db50a06c8afc4224c175 /osdep/macos | |
parent | 72915e8b76b2e5da9ddc90e892a544b6de512f39 (diff) | |
download | mpv-632059816adde518c67f6606e3cfdef5bec18b52.tar.bz2 mpv-632059816adde518c67f6606e3cfdef5bec18b52.tar.xz |
libmpv: remove opengl_cb API and other deprecated symbols
Not all deprecated symbols were removed. Only three events were removed for now
since these are not used internally.
This bumps the library version to 2.0.
Diffstat (limited to 'osdep/macos')
-rw-r--r-- | osdep/macos/libmpv_helper.swift | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/osdep/macos/libmpv_helper.swift b/osdep/macos/libmpv_helper.swift index b140f99587..4ac8f2748f 100644 --- a/osdep/macos/libmpv_helper.swift +++ b/osdep/macos/libmpv_helper.swift @@ -50,8 +50,7 @@ class LibmpvHelper { let advanced: CInt = 1 let api = UnsafeMutableRawPointer(mutating: (MPV_RENDER_API_TYPE_OPENGL as NSString).utf8String) let pAddress = mpv_opengl_init_params(get_proc_address: getProcAddress, - get_proc_address_ctx: nil, - extra_exts: nil) + get_proc_address_ctx: nil) MPVHelper.withUnsafeMutableRawPointers([pAddress, advanced]) { (pointers: [UnsafeMutableRawPointer?]) in var params: [mpv_render_param] = [ |