mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-28 10:35:43 -05:00
Cleanup.
This commit is contained in:
parent
72be9be87d
commit
203991b248
3 changed files with 5 additions and 0 deletions
|
@ -66,6 +66,8 @@ namespace bgfx { namespace gl
|
||||||
);
|
);
|
||||||
|
|
||||||
import();
|
import();
|
||||||
|
|
||||||
|
g_internalData.context = m_context;
|
||||||
}
|
}
|
||||||
|
|
||||||
void GlContext::destroy()
|
void GlContext::destroy()
|
||||||
|
|
|
@ -115,6 +115,8 @@ namespace bgfx { namespace gl
|
||||||
}
|
}
|
||||||
|
|
||||||
import();
|
import();
|
||||||
|
|
||||||
|
g_internalData.context = m_context;
|
||||||
}
|
}
|
||||||
|
|
||||||
void GlContext::destroy()
|
void GlContext::destroy()
|
||||||
|
|
|
@ -495,6 +495,7 @@ namespace bgfx { namespace mtl
|
||||||
|
|
||||||
m_occlusionQuery.preReset();
|
m_occlusionQuery.preReset();
|
||||||
|
|
||||||
|
g_internalData.context = m_device;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue