HI Tugkan,

On 2/23/07, Tugkan Calapoglu <[EMAIL PROTECTED]> wrote:
Hi Robert,

The message comes from osg::AlphaFunc. I've attached the stack trace.

I've added af->setThreadSafeRefUnref( true ) but this didn't change
anything. The message still comes and crash occurs with the same stack
trace. I've done the same for the state set also and nothing changed.

It wonder where this AlphaFunc was attached, it could be its StateSet
is the one with the problems with thread safe ref/unref.

One thing you could try is sticking a:

  osg::Referenced::setThreadSafeReferenceCounting(true);

At the top of the main.

Robert.

Robert.
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to