In osg::isGLUExtensionSupported, fixed gluGetString to call GLU_EXTENSIONS

rather than GL_EXTENSIONS.
This commit is contained in:
Don BURNS
2005-03-02 15:06:23 +00:00
parent 6772a1deb6
commit 678281f2f2

View File

@@ -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.