mirror of https://github.com/bkaradzic/bgfx
GLX: Set default context after swap chain destruction.
This commit is contained in:
parent
afb7ec3d73
commit
4117e79e6c
|
@ -259,6 +259,7 @@ namespace bgfx { namespace gl
|
|||
void GlContext::destroySwapChain(SwapChainGL* _swapChain)
|
||||
{
|
||||
BX_DELETE(g_allocator, _swapChain);
|
||||
glXMakeCurrent( (::Display*)g_platformData.ndt, (::Window)g_platformData.nwh, m_context);
|
||||
}
|
||||
|
||||
void GlContext::swap(SwapChainGL* _swapChain)
|
||||
|
|
Loading…
Reference in New Issue