mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-02-10 21:52:42 +00:00
(Apple) OSX solution does not use ARC, so don't use 'bridge' for that
one. Ideally we should wrap this function up in CFExtensions.m to cater to this
This commit is contained in:
parent
9b30d6c669
commit
9a02ba253a
@ -278,7 +278,7 @@ static void apple_gfx_ctx_swap_buffers(void *data)
|
||||
static gfx_ctx_proc_t apple_gfx_ctx_get_proc_address(const char *symbol_name)
|
||||
{
|
||||
return (gfx_ctx_proc_t)CFBundleGetFunctionPointerForName(CFBundleGetBundleWithIdentifier(GLFrameworkID),
|
||||
#ifdef MAC_OS_X_VERSION_10_7
|
||||
#if defined(MAC_OS_X_VERSION_10_7) && __has_feature(objc_arc)
|
||||
(__bridge CFStringRef)BOXSTRING(symbol_name)
|
||||
#else
|
||||
(CFStringRef)BOXSTRING(symbol_name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user