From 3e4b82e7fe6eb3192366fb6d0189e60f856f65d5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Sun, 30 Nov 2014 09:06:47 -0800 Subject: [PATCH] Fixed typo. Issue #196. --- src/glcontext_eagl.h | 2 +- src/glcontext_eagl.mm | 2 +- src/glcontext_egl.cpp | 2 +- src/glcontext_egl.h | 2 +- src/glcontext_glx.cpp | 2 +- src/glcontext_glx.h | 2 +- src/glcontext_nsgl.h | 2 +- src/glcontext_nsgl.mm | 2 +- src/glcontext_ppapi.cpp | 2 +- src/glcontext_ppapi.h | 2 +- src/glcontext_wgl.cpp | 2 +- src/glcontext_wgl.h | 2 +- src/renderer_gl.cpp | 2 +- 13 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/glcontext_eagl.h b/src/glcontext_eagl.h index 91674ff9..02444750 100644 --- a/src/glcontext_eagl.h +++ b/src/glcontext_eagl.h @@ -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); diff --git a/src/glcontext_eagl.mm b/src/glcontext_eagl.mm index 420a95de..2a828552 100644 --- a/src/glcontext_eagl.mm +++ b/src/glcontext_eagl.mm @@ -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!"); } diff --git a/src/glcontext_egl.cpp b/src/glcontext_egl.cpp index ecd73dbf..979b165a 100644 --- a/src/glcontext_egl.cpp +++ b/src/glcontext_egl.cpp @@ -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); } diff --git a/src/glcontext_egl.h b/src/glcontext_egl.h index fb6b15da..72414d8a 100644 --- a/src/glcontext_egl.h +++ b/src/glcontext_egl.h @@ -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); diff --git a/src/glcontext_glx.cpp b/src/glcontext_glx.cpp index c657828f..ed4bb028 100644 --- a/src/glcontext_glx.cpp +++ b/src/glcontext_glx.cpp @@ -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); } diff --git a/src/glcontext_glx.h b/src/glcontext_glx.h index 51e99c2b..9cf0270f 100644 --- a/src/glcontext_glx.h +++ b/src/glcontext_glx.h @@ -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); diff --git a/src/glcontext_nsgl.h b/src/glcontext_nsgl.h index e33fe940..3b157de7 100644 --- a/src/glcontext_nsgl.h +++ b/src/glcontext_nsgl.h @@ -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); diff --git a/src/glcontext_nsgl.mm b/src/glcontext_nsgl.mm index 9c5facac..ec34e4fd 100644 --- a/src/glcontext_nsgl.mm +++ b/src/glcontext_nsgl.mm @@ -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); } diff --git a/src/glcontext_ppapi.cpp b/src/glcontext_ppapi.cpp index 74524fa9..a6cb7113 100644 --- a/src/glcontext_ppapi.cpp +++ b/src/glcontext_ppapi.cpp @@ -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!"); } diff --git a/src/glcontext_ppapi.h b/src/glcontext_ppapi.h index 53fd801a..e0c68467 100644 --- a/src/glcontext_ppapi.h +++ b/src/glcontext_ppapi.h @@ -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); diff --git a/src/glcontext_wgl.cpp b/src/glcontext_wgl.cpp index be3bfea4..381fd983 100644 --- a/src/glcontext_wgl.cpp +++ b/src/glcontext_wgl.cpp @@ -311,7 +311,7 @@ namespace bgfx return swapChain; } - void GlContext::destorySwapChain(SwapChainGL* _swapChain) + void GlContext::destroySwapChain(SwapChainGL* _swapChain) { BX_DELETE(g_allocator, _swapChain); } diff --git a/src/glcontext_wgl.h b/src/glcontext_wgl.h index 249a4126..ea921105 100644 --- a/src/glcontext_wgl.h +++ b/src/glcontext_wgl.h @@ -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); diff --git a/src/renderer_gl.cpp b/src/renderer_gl.cpp index ae9bae09..b6a08857 100644 --- a/src/renderer_gl.cpp +++ b/src/renderer_gl.cpp @@ -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; }