OpenGL extension handler bug reported by Nadro
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@881 dfc29bdd-3216-0410-991c-e03cc46cb475master
parent
cf288403b3
commit
e8b042f29e
|
@ -91,7 +91,7 @@ void COpenGLExtensionHandler::initExtensions(bool stencilBuffer)
|
|||
if (str[i] == ' ')
|
||||
{
|
||||
str[i] = 0;
|
||||
for (u32 i=0; i<IRR_OpenGL_Feature_Count; ++i)
|
||||
for (s32 i=IRR_OpenGL_Feature_Count-1; i>0; --i)
|
||||
{
|
||||
if (strstr(p, OpenGLFeatureStrings[i]))
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue