From Johannes Bauerle, "When trying to use the osgText functionality in an osg application built without support for the fixed function pipeline I got a lot of warning messages about invalid calls. I found two indirect calls to the glTexEnv in the file Text.cpp:
From Johannes Bauerle, "When trying to use the osgText functionality in an osg application built without support for the fixed function pipeline I got a lot of warning messages about invalid calls.
I found two indirect calls to the glTexEnv in the file Text.cpp:

state.applyTextureAttribute(0,getActiveFont()->getTexEnv());

In the attached fix I surrounded these calls with #ifdef's checking for OSG_GL_FIXED_FUNCTION_AVAILABLE to ensure that the above function is only called when the fixed function pipeline is available.
"


omega-hub/osg,omega-hub/osg,XiaoCC/osg,ntoand/osg,stmh/osg,omega-hub/osg,XiaoCC/osg,stmh/osg,ghub/osg,koshman86/osg,XiaoCC/osg,artoolkit/osg,ntoand/osg,ghub/osg,artoolkit/osg,XiaoCC/osg,ghub/osg,koshman86/osg,omega-hub/osg,stmh/osg,XiaoCC/osg,ghub/osg,koshman86/osg,koshman86/osg,ntoand/osg,stmh/osg,ntoand/osg,stmh/osg,artoolkit/osg,artoolkit/osg