Hi Li, On 24 March 2017 at 17:48, Li Chi <[email protected]> wrote: > Just as you said, I comment out #if SHADERS_GL3 AND #elif SHADERS_GL2 's > codes, recompiling and rerunning, everything looks fine now.
Sounds the #if's at the top of StateSet.cpp aren't choosing the correct code paths on your system for some reason. Could you post the generate include/osg/GL file as this might provides some clues to why it isn't working correctly. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

