(OSX) Fixes crash on exit/fullscreen toggle with XMB

This commit is contained in:
twinaphex 2015-04-26 00:50:58 +02:00
parent bea1ae5dbd
commit c99cd21080

View File

@ -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)