mirror of
https://github.com/bkaradzic/bgfx.git
synced 2026-02-20 13:53:14 +01:00
Added multiple windows support.
This commit is contained in:
@@ -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()
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user