From 632059816adde518c67f6606e3cfdef5bec18b52 Mon Sep 17 00:00:00 2001 From: sfan5 Date: Mon, 29 Nov 2021 13:12:02 +0100 Subject: 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. --- osdep/macos/libmpv_helper.swift | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'osdep/macos/libmpv_helper.swift') 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] = [ -- cgit v1.2.3