Fix typo
This commit is contained in:
parent
dfd932caf5
commit
91e2217eba
@ -200,7 +200,7 @@ CIrrDeviceSDL::~CIrrDeviceSDL()
|
|||||||
#ifdef _IRR_COMPILE_WITH_OPENGL_
|
#ifdef _IRR_COMPILE_WITH_OPENGL_
|
||||||
irr::video::COpenGLExtensionHandler* h = dynamic_cast<irr::video::COpenGLExtensionHandler*>(VideoDriver);
|
irr::video::COpenGLExtensionHandler* h = dynamic_cast<irr::video::COpenGLExtensionHandler*>(VideoDriver);
|
||||||
if (h)
|
if (h)
|
||||||
h->clearGLExtenstions();
|
h->clearGLExtensions();
|
||||||
#endif
|
#endif
|
||||||
VideoDriver->drop();
|
VideoDriver->drop();
|
||||||
VideoDriver = NULL;
|
VideoDriver = NULL;
|
||||||
|
@ -1091,7 +1091,7 @@ class COpenGLExtensionHandler
|
|||||||
// the global feature array
|
// the global feature array
|
||||||
bool FeatureAvailable[IRR_OpenGL_Feature_Count];
|
bool FeatureAvailable[IRR_OpenGL_Feature_Count];
|
||||||
|
|
||||||
void clearGLExtenstions()
|
void clearGLExtensions()
|
||||||
{
|
{
|
||||||
#if defined(_IRR_OPENGL_USE_EXTPOINTER_)
|
#if defined(_IRR_OPENGL_USE_EXTPOINTER_)
|
||||||
pGlActiveTextureARB = 0;
|
pGlActiveTextureARB = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user