Hi Christian,

It prints a warning each time something unsupported is attempted.  There
isn't presently any mechanism to disable this warnings after the first time
it's printed out.  To add such functionality would required a record to be
kept of each type of warning printed out.

You can use osg::setNotifyLevel(og::FATAL); to quieten down all by fatal
warnings.

Robert.

On 10 December 2014 at 15:32, Christian Buchner <[email protected]
> wrote:

> Hi,
>
> I attached a ClampColor attribute to an OSG State set using code from the
> OSG 3.2 branch.
>
> The problem is that on some older Intel chips this extension may be
> unavailable and I will see a warning printed in every frame:
>
> Warning: ClampColor::apply(..) failed, ClampColor is not support by OpenGL
> driver.
>
> Is it supposed to spew the warning incessantly? Wouldn't it be enough to
> just print it the first time this occurs?
>
> Christian
>
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to