Merge pull request #440 from meshula/master

Fix for Context not bound on OSX 10.10.3 #439
This commit is contained in:
Branimir Karadžić 2015-06-24 23:06:44 -07:00
commit af5b3592d9

View file

@ -176,6 +176,8 @@ namespace bgfx { namespace gl
{ {
if (NULL == _swapChain) if (NULL == _swapChain)
{ {
NSOpenGLContext* glContext = (NSOpenGLContext*)m_context;
[glContext makeCurrentContext];
} }
else else
{ {