if'd out ShaderGenVisitor usage under GLES2 to enble proper testing of new fixed function -> shaders infrastructure.

This commit is contained in:
Robert Osfield 2016-10-26 11:33:24 +01:00
parent de0334e654
commit df034d6fb8

View File

@ -308,11 +308,13 @@ void View::setSceneData(osg::Node* node)
if (getSceneData())
{
#if 0
#if defined(OSG_GLES2_AVAILABLE)
osgUtil::ShaderGenVisitor sgv;
getSceneData()->getOrCreateStateSet();
getSceneData()->accept(sgv);
#endif
#endif
// now make sure the scene graph is set up with the correct DataVariance to protect the dynamic elements of
// the scene graph from being run in parallel.