compilation fixes when no OSG_GL_FIXED_FUNCTION_AVAILABLE

This commit is contained in:
Mathieu MARACHE
2016-08-05 23:00:47 +02:00
committed by Robert Osfield
parent e3c663bb02
commit afe45f66d2

View File

@@ -1156,7 +1156,7 @@ GLExtensions::GLExtensions(unsigned int in_contextID):
#ifdef OSG_GL_FIXED_FUNCTION_AVAILABLE
glGetIntegerv(GL_MAX_TEXTURE_COORDS, &glMaxTextureCoords);
#else
glMaxTextureCoords = _glMaxTextureUnits;
glMaxTextureCoords = glMaxTextureUnits;
#endif
}
else if ( osg::getGLVersionNumber() >= 1.3 ||