This commit is contained in:
Branimir Karadžić 2016-01-13 21:54:44 -08:00
parent 72be9be87d
commit 203991b248
3 changed files with 5 additions and 0 deletions

View file

@ -66,6 +66,8 @@ namespace bgfx { namespace gl
); );
import(); import();
g_internalData.context = m_context;
} }
void GlContext::destroy() void GlContext::destroy()

View file

@ -115,6 +115,8 @@ namespace bgfx { namespace gl
} }
import(); import();
g_internalData.context = m_context;
} }
void GlContext::destroy() void GlContext::destroy()

View file

@ -495,6 +495,7 @@ namespace bgfx { namespace mtl
m_occlusionQuery.preReset(); m_occlusionQuery.preReset();
g_internalData.context = m_device;
return true; return true;
} }