mirror of
https://github.com/scratchfoundation/bgfx.git
synced 2024-11-25 00:58:30 -05:00
Fixed typo. Issue #196.
This commit is contained in:
parent
7c1c180243
commit
3e4b82e7fe
13 changed files with 13 additions and 13 deletions
|
@ -25,7 +25,7 @@ namespace bgfx
|
|||
|
||||
static bool isSwapChainSupported();
|
||||
SwapChainGL* createSwapChain(void* _nwh);
|
||||
void destorySwapChain(SwapChainGL* _swapChain);
|
||||
void destroySwapChain(SwapChainGL* _swapChain);
|
||||
void swap(SwapChainGL* _swapChain = NULL);
|
||||
void makeCurrent(SwapChainGL* _swapChain = NULL);
|
||||
|
||||
|
|
|
@ -102,7 +102,7 @@ namespace bgfx
|
|||
return NULL;
|
||||
}
|
||||
|
||||
void GlContext::destorySwapChain(SwapChainGL* /*_swapChain*/)
|
||||
void GlContext::destroySwapChain(SwapChainGL* /*_swapChain*/)
|
||||
{
|
||||
BX_CHECK(false, "Shouldn't be called!");
|
||||
}
|
||||
|
|
|
@ -294,7 +294,7 @@ EGL_IMPORT
|
|||
return BX_NEW(g_allocator, SwapChainGL)(m_display, m_config, m_context, (EGLNativeWindowType)_nwh);
|
||||
}
|
||||
|
||||
void GlContext::destorySwapChain(SwapChainGL* _swapChain)
|
||||
void GlContext::destroySwapChain(SwapChainGL* _swapChain)
|
||||
{
|
||||
BX_DELETE(g_allocator, _swapChain);
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ namespace bgfx
|
|||
|
||||
static bool isSwapChainSupported();
|
||||
SwapChainGL* createSwapChain(void* _nwh);
|
||||
void destorySwapChain(SwapChainGL* _swapChain);
|
||||
void destroySwapChain(SwapChainGL* _swapChain);
|
||||
void swap(SwapChainGL* _swapChain = NULL);
|
||||
void makeCurrent(SwapChainGL* _swapChain = NULL);
|
||||
|
||||
|
|
|
@ -248,7 +248,7 @@ namespace bgfx
|
|||
return BX_NEW(g_allocator, SwapChainGL)( (::Window)_nwh, m_visualInfo, m_context);
|
||||
}
|
||||
|
||||
void GlContext::destorySwapChain(SwapChainGL* _swapChain)
|
||||
void GlContext::destroySwapChain(SwapChainGL* _swapChain)
|
||||
{
|
||||
BX_DELETE(g_allocator, _swapChain);
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ namespace bgfx
|
|||
|
||||
static bool isSwapChainSupported();
|
||||
SwapChainGL* createSwapChain(void* _nwh);
|
||||
void destorySwapChain(SwapChainGL* _swapChain);
|
||||
void destroySwapChain(SwapChainGL* _swapChain);
|
||||
void swap(SwapChainGL* _swapChain = NULL);
|
||||
void makeCurrent(SwapChainGL* _swapChain = NULL);
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ namespace bgfx
|
|||
|
||||
static bool isSwapChainSupported();
|
||||
SwapChainGL* createSwapChain(void* _nwh);
|
||||
void destorySwapChain(SwapChainGL* _swapChain);
|
||||
void destroySwapChain(SwapChainGL* _swapChain);
|
||||
void swap(SwapChainGL* _swapChain = NULL);
|
||||
void makeCurrent(SwapChainGL* _swapChain = NULL);
|
||||
|
||||
|
|
|
@ -119,7 +119,7 @@ namespace bgfx
|
|||
return BX_NEW(g_allocator, SwapChainGL)(_nwh);
|
||||
}
|
||||
|
||||
void GlContext::destorySwapChain(SwapChainGL* _swapChain)
|
||||
void GlContext::destroySwapChain(SwapChainGL* _swapChain)
|
||||
{
|
||||
BX_DELETE(g_allocator, _swapChain);
|
||||
}
|
||||
|
|
|
@ -169,7 +169,7 @@ namespace bgfx
|
|||
return NULL;
|
||||
}
|
||||
|
||||
void GlContext::destorySwapChain(SwapChainGL* /*_swapChain*/)
|
||||
void GlContext::destroySwapChain(SwapChainGL* /*_swapChain*/)
|
||||
{
|
||||
BX_CHECK(false, "Shouldn't be called!");
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ namespace bgfx
|
|||
|
||||
static bool isSwapChainSupported();
|
||||
SwapChainGL* createSwapChain(void* _nwh);
|
||||
void destorySwapChain(SwapChainGL* _swapChain);
|
||||
void destroySwapChain(SwapChainGL* _swapChain);
|
||||
void swap(SwapChainGL* _swapChain = NULL);
|
||||
void makeCurrent(SwapChainGL* _swapChain = NULL);
|
||||
|
||||
|
|
|
@ -311,7 +311,7 @@ namespace bgfx
|
|||
return swapChain;
|
||||
}
|
||||
|
||||
void GlContext::destorySwapChain(SwapChainGL* _swapChain)
|
||||
void GlContext::destroySwapChain(SwapChainGL* _swapChain)
|
||||
{
|
||||
BX_DELETE(g_allocator, _swapChain);
|
||||
}
|
||||
|
|
|
@ -73,7 +73,7 @@ typedef void (APIENTRYP PFNGLSTENCILOPPROC) (GLenum fail, GLenum zfail, GLenum z
|
|||
|
||||
static bool isSwapChainSupported();
|
||||
SwapChainGL* createSwapChain(void* _nwh);
|
||||
void destorySwapChain(SwapChainGL* _swapChain);
|
||||
void destroySwapChain(SwapChainGL* _swapChain);
|
||||
void swap(SwapChainGL* _swapChain = NULL);
|
||||
void makeCurrent(SwapChainGL* _swapChain = NULL);
|
||||
|
||||
|
|
|
@ -4031,7 +4031,7 @@ namespace bgfx
|
|||
|
||||
if (NULL != m_swapChain)
|
||||
{
|
||||
s_renderGL->m_glctx.destorySwapChain(m_swapChain);
|
||||
s_renderGL->m_glctx.destroySwapChain(m_swapChain);
|
||||
m_swapChain = NULL;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue