From f9907aaa58ae23851adc289ada68472e5746cec4 Mon Sep 17 00:00:00 2001 From: Nick Porcino Date: Wed, 24 Jun 2015 22:54:47 -0700 Subject: [PATCH] Fix for Context not bound on OSX 10.10.3 #439 --- src/glcontext_nsgl.mm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/glcontext_nsgl.mm b/src/glcontext_nsgl.mm index d39f7da3..fee4bed2 100644 --- a/src/glcontext_nsgl.mm +++ b/src/glcontext_nsgl.mm @@ -176,6 +176,8 @@ namespace bgfx { namespace gl { if (NULL == _swapChain) { + NSOpenGLContext* glContext = (NSOpenGLContext*)m_context; + [glContext makeCurrentContext]; } else {