Added multiple windows support.

This commit is contained in:
Branimir Karadžić
2014-09-07 17:17:38 -07:00
parent 50cbdbec3c
commit 2c03cf4927
19 changed files with 633 additions and 162 deletions

View File

@@ -158,11 +158,26 @@ namespace bgfx
s_ppapi.resize(_width, _height, _vsync);
}
void GlContext::swap()
SwapChainGL* GlContext::createSwapChain(void* /*_nwh*/)
{
BX_CHECK(false, "Shouldn't be called!");
return NULL;
}
void GlContext::destorySwapChain(SwapChainGL* /*_swapChain*/)
{
BX_CHECK(false, "Shouldn't be called!");
}
void GlContext::swap(SwapChainGL* /*_swapChain*/)
{
s_ppapi.swap();
}
void GlContext::makeCurrent(SwapChainGL* /*_swapChain*/)
{
}
void GlContext::import()
{
}