mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
(OSX) Fixes crash on exit/fullscreen toggle with XMB
This commit is contained in:
parent
bea1ae5dbd
commit
c99cd21080
@ -134,8 +134,12 @@ static RAScreen* get_chosen_screen(void)
|
||||
void cocoagl_gfx_ctx_update(void)
|
||||
{
|
||||
#if defined(HAVE_COCOA)
|
||||
#if MAC_OS_X_VERSION_10_7
|
||||
CGLUpdateContext(g_context.CGLContextObj);
|
||||
#else
|
||||
[g_context update];
|
||||
#endif
|
||||
#endif
|
||||
}
|
||||
|
||||
static bool cocoagl_gfx_ctx_init(void *data)
|
||||
|
Loading…
x
Reference in New Issue
Block a user