Fix for Context not bound on OSX 10.10.3 #439
This commit is contained in:
parent
7dd53e1d48
commit
f9907aaa58
@ -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 New Issue
Block a user