mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 18:45:54 -05:00
Merge pull request #440 from meshula/master
Fix for Context not bound on OSX 10.10.3 #439
This commit is contained in:
commit
af5b3592d9
1 changed files with 2 additions and 0 deletions
|
@ -176,6 +176,8 @@ namespace bgfx { namespace gl
|
|||
{
|
||||
if (NULL == _swapChain)
|
||||
{
|
||||
NSOpenGLContext* glContext = (NSOpenGLContext*)m_context;
|
||||
[glContext makeCurrentContext];
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue