mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2025-04-12 23:34:29 -04:00
Fix for Context not bound on OSX 10.10.3 #439
This commit is contained in:
parent
7dd53e1d48
commit
f9907aaa58
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…
Add table
Reference in a new issue