Yea, that's definitely a crash if you don't return there, even on Apple (wtf?).

This commit is contained in:
jdolan 2013-06-27 10:02:03 -04:00
parent 9237b835f7
commit 482dc447ab

View file

@ -1717,11 +1717,9 @@ int GL_ExtensionSupported( const char *extension ){
}
extensions = qglGetString( GL_EXTENSIONS );
#ifndef __APPLE__
if ( !extensions ) {
return 0;
}
#endif
// It takes a bit of care to be fool-proof about parsing the
// OpenGL extensions string. Don't be fooled by sub-strings, etc.