[osg-users] Please test OpenSceneGraph master in prep for 3.5.6 dev release

Robert Osfield robert.osfield at gmail.com
Sat Mar 25 10:24:24 PDT 2017


Hi Li,

On 25 March 2017 at 16:39, Li Chi <s12345uperman at sohu.com> 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.



More information about the osg-users mailing list