Hi Li, On 25 March 2017 at 16:39, Li Chi <[email protected]> wrote: > Hi Robert, > > The following line is still not working. > > #define SHADERS_GL2 (!defined(OSG_GL_FIXED_FUNCTION_AVAILABLE) && > !defined(OSG_GL3_AVAILABLE) && !defined(OSG_GLES3_AVAILABLE)) > > #if SHADERS_GL2 // <== still return true (this is wrong) > > and besides StateSet.cpp and Font.cpp, I found StatesHandler.cpp has the same > problem too.
Aaaaaarr!!! :-) Perhaps I should push this into CMake to decide the options and place the SHADERS_GL3, SHADERS_GL2 into include/osg/Config, at least compilers wouldn't be able to get their sticky fingers in the mix. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

