From 6a743b56953d894a35632e467e502be57c3a34f8 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 22 Oct 2014 20:04:05 +0200 Subject: [PATCH] (OSX) Don't use CGLUpdateContext - only available since OSX 10.77 --- apple/common/apple_gfx_context.c.inl | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apple/common/apple_gfx_context.c.inl b/apple/common/apple_gfx_context.c.inl index 386276528d..553aadb363 100644 --- a/apple/common/apple_gfx_context.c.inl +++ b/apple/common/apple_gfx_context.c.inl @@ -73,9 +73,7 @@ static RAScreen* get_chosen_screen(void) static void apple_gfx_ctx_update(void) { #ifdef OSX - CGLContextObj context = (CGLContextObj)g_context.CGLContextObj; - if (context) - CGLUpdateContext(context); + [g_context update]; #endif }