Hi Robert, et al,
we're having an issue caused by this changeset:
http://www.openscenegraph.org/projects/osg/changeset/12303
Particularly the change in parsing "GL_SHADING_LANGUAGE_VERSION" broke
certain GL/shader features on many systems (all our clouds are gone with
osg >= r12303).
Cross-posting from our devel-list:
On Wednesday, 18.05.2011, 22:45 Csaba Halász wrote:
> Turns out 12303 is the cause for the constant sunshine ;)
>
> Specifically, the GLSL version parsing has been broken:
>
> Original code: _glslLanguageVersion = asciiToFloat( langVerStr );
> New code: _glslLanguageVersion = ( asciiToFloat( glslvs.substr(
> glslvs.find( "GLSL "+5 ) ).c_str() ) );
>
> The version string for me here is simply "3.30" (using fglrx 11.4), so
> the old code works but the new one doesn't.
> Incidentally, the GL version parsing doesn't work either, because
> version string is "3.3.10666 Compatibility Profile Context" and the
> code (both the old and the new) expect a decimal number before the
> space.
Thanks to Csaba for debugging into this issue.
I also see the issue on my system.
So, obviously the new code for parsing the GL version strings doesn't
work for all systems. Could you please have a look?
cheers,
Thorsten
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org