compilation fixes when no OSG_GL_FIXED_FUNCTION_AVAILABLE
This commit is contained in:
committed by
Robert Osfield
parent
e3c663bb02
commit
afe45f66d2
@@ -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 ||
|
||||
|
||||
Reference in New Issue
Block a user