mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(Apple) Update apple_gfx_context.c.inl
This commit is contained in:
parent
94de11b060
commit
6807605e4e
@ -102,7 +102,7 @@ static bool apple_gfx_ctx_set_video_mode(void *data, unsigned width, unsigned he
|
||||
{
|
||||
(void)data;
|
||||
#ifdef OSX
|
||||
// TODO: Sceen mode support
|
||||
// TODO: Screen mode support
|
||||
|
||||
if (fullscreen && !g_has_went_fullscreen)
|
||||
{
|
||||
@ -187,13 +187,13 @@ static void apple_gfx_ctx_swap_buffers(void *data)
|
||||
|
||||
static gfx_ctx_proc_t apple_gfx_ctx_get_proc_address(const char *symbol_name)
|
||||
{
|
||||
#ifdef MAC_OS_X_VERSION_10_7
|
||||
return (gfx_ctx_proc_t)CFBundleGetFunctionPointerForName(CFBundleGetBundleWithIdentifier(GLFrameworkID),
|
||||
(__bridge CFStringRef)BOXSTRING(symbol_name));
|
||||
#ifdef MAC_OS_X_VERSION_10_7
|
||||
(__bridge CFStringRef)BOXSTRING(symbol_name)
|
||||
#else
|
||||
return (gfx_ctx_proc_t)CFBundleGetFunctionPointerForName(CFBundleGetBundleWithIdentifier(GLFrameworkID),
|
||||
(CFStringRef)BOXSTRING(symbol_name));
|
||||
(CFStringRef)BOXSTRING(symbol_name)
|
||||
#endif
|
||||
);
|
||||
}
|
||||
|
||||
static void gfx_ctx_check_window(void *data, bool *quit,
|
||||
|
Loading…
x
Reference in New Issue
Block a user