mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-12-01 11:56:58 -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)
|
if (NULL == _swapChain)
|
||||||
{
|
{
|
||||||
|
NSOpenGLContext* glContext = (NSOpenGLContext*)m_context;
|
||||||
|
[glContext makeCurrentContext];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue