In osg::isGLUExtensionSupported, fixed gluGetString to call GLU_EXTENSIONS
rather than GL_EXTENSIONS.
This commit is contained in:
@@ -149,7 +149,7 @@ bool osg::isGLUExtensionSupported(const char *extension)
|
||||
if (s_extensions==NULL)
|
||||
{
|
||||
// get the extension list from OpenGL.
|
||||
s_extensions = (const char*)gluGetString(GL_EXTENSIONS);
|
||||
s_extensions = (const char*)gluGetString(GLU_EXTENSIONS);
|
||||
if (s_extensions==NULL) return false;
|
||||
|
||||
// insert the ' ' delimiated extensions words into the extensionSet.
|
||||
|
||||
Reference in New Issue
Block a user